vishwas-r / WP-CanvasJS

WP CanvasJS plugin allows you to create and add interactive Charts & StockCharts to your wordpress page and posts using CanvasJS library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diagram is not placed in the right place

mori3848 opened this issue · comments

Hi
please check it on WordPress and with other elements.
After rendering, the diagram is not placed in the right place and comes on top of other texts. Changing the CSS does not solve the problem.

Setting height of the chart seems to work properly in this case. Here is an example short-code
[canvasjschart options="{title:{text: 'CanvasJS Column Chart'}, data: new Array({dataPoints: new Array({ label: 'apple', y: 10 },{ label: 'orange', y: 15 },{ label: 'banana', y: 25 },{ label: 'mango', y: 30 },{ label: 'grape', y: 28 })})}" style="width:100%;height:360px"]

thank you. it is very good.