Home forums Using CanvasJS same graphic 2 pages, 2 visualizations

This topic contains 2 replies, has 2 voices, and was last updated by  andres.chandia 1 year, 10 months ago.

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


    Hi there again, im back with some issues
    I have 2 pages rendering the exact same graphic but with different sizes.
    Page 1: <div id="chartContainer3" style="width: 420px; height: 300px;" ></div>
    Page 2: <div id="chartContainer3" style="width: 1200px; height: 700px;" ></div>
    At Page 1 labels of X axis render correctly (graphic on the right).
    At Page 2 the labels are replaced by numbers, which is not right.
    I tried resizing the big graph <div id="chartContainer3" style="width: 1000px; height: 700px;" ></div>, but I only get the name labels overlaping the numbers, as you can see here
    I also tried what is proposed here: #7583 with the same results.
    Any suggestion?
    Thanks a lot, as always.




    You can overcome this issue by either setting the interval to 1 or by using labelAngle property of axisX.




    Yes, that did it, thanks a lot.

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

You must be logged in to reply to this topic.