Home › forums › Chart Support › vue and flex
Tagged: flex layout, vue
I want to use the vuejs and flex layout.
Could you tell me how canvasjs basically bind itself to the corresponding element, does it comes with setTimeout?
When I combine the usage with the popular vuejs framework, it has many issues
* object may not get data.
* canvas render on the wrong position.
I want to know is canvasjs now compatible with flex layout?
Is there any clue of the compatibility of canvasjs and flexbox? Please.
Yes, CanvasJS works well in flexbox layout.
CanvasJS Chart automatically sets the width and height of the chart according to container’s dimensions. When the container’s dimension is not specified it takes up the default width & height(500px X 400px). Setting 100% width for the Chart-Container will work fine in flexbox layout. Please take a look at this jsfiddle.
If this doesn’t solve the issue, kindly create a jsfiddle with the issue you are facing so that we can understand it better and help you out.
You must be logged in to reply to this topic.