Home forums Using CanvasJS Chart Header Scrolls off on Right Side

This topic contains 5 replies, has 2 voices, and was last updated by  RangerRik1 8 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #24331

    My first basic bar chart has the header scrolling off on the right side. Is there anything I can do to possibly correct this? Some scaling option I’m not seeing?

    Please see this link:

    https://www.meridiansoftware.net/images/Chart.png

    And thanks!!!

    • This topic was modified 8 months, 1 week ago by  RangerRik1.
    #24332
    #24342

    @rangerrik1,

    To achieve the above the requirement you can set the labelAngle of Axis X to some positive value(for example 25) to re-arrange the Axis labels accordingly.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24348

    I am indeed getting better results thanks for showing me these properties…

    Please have a look at this picture:
    https://meridiansoftware.net/images/Chart.jpg

    Two questions:
    1. How can I increase the distance between the axisY2 title and the labels? I found a margin property for the gap between the title and axisy2 title … but I can’t seem to find a “LabelMargin” property to increase the gap as indicated in the URL (example) above.
    2. ALSO -> I would VERY MUCH like to have the DATA VALUE printed in the BAR. On the HTML it is great that the user can slide the mouse interactively and see the value. However, we need to EXPORT as an image and, obviously, that ability is lost. If the value could be printed, it would be helpful.

    Let me know and thanks again for an excellent product!

    #24354

    @rangerrik1,

    1. How can I increase the distance between the axisY2 title and the labels? I found a margin property for the gap between the title and axisy2 title … but I can’t seem to find a “LabelMargin” property to increase the gap as indicated in the URL (example) above.

    Sorry, this feature is not available as of now.

    2. ALSO -> I would VERY MUCH like to have the DATA VALUE printed in the BAR. On the HTML it is great that the user can slide the mouse interactively and see the value. However, we need to EXPORT as an image and, obviously, that ability is lost. If the value could be printed, it would be helpful.

    You can use the indexLabel property to display additional information about a dataPoint. Please refer documentation for more information.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24357

    Thanks to your assistance I was able to quickly get the desired results for our project! Thank You Very Much!

    https://www.meridiansoftware.net/images/final.jpg

    –Rick

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

You must be logged in to reply to this topic.