Home Forums Chart Support vue and flex

vue and flex

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

    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

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

    #17679

    @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.