Home forums Using CanvasJS vue and flex

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  Indranil Deo 3 weeks, 2 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17646

    intijk
    Member

    Hi

    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?

    Thank you.

    #17668

    intijk
    Member

    Is there any clue of the compatibility of canvasjs and flexbox? Please.

    #17679

    Indranil Deo
    Member

    @intijk,

    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.

    ___________
    Indranil Deo
    Team CanvasJS

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.