Home forums Report Bugs X-axis labels are not aligned vertical with the data points

This topic contains 4 replies, has 2 voices, and was last updated by  thomas.sayone 2 weeks, 2 days ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17452

    I have a line chart like this. The data point and graph seems little bit forwarded than the x axis label

    #17459

    Suyash Singh
    Moderator

    @thomas-sayone,

    Labels are generally not shown for all the dataPoints & the dataPoints may be rendered beyond the last dataPoint as well. This is because axis labels are rendered with fixed interval.
    The plot in your case might be extending beyond the label 6-11-17 as there might be a dataPoint beyond it with difference in some hours. Can you please create a jsfiddle reproducing the issue so that we can look into it and help you out?


    Suyash Singh
    Team CanvasJS

    #17460

    Does this have any relation with ajax? I used two graphs one using ajax response data and the issue exists with the ajax one, any thing related with the way graphs are rendered?

    #17477

    Suyash Singh
    Moderator

    @thomas-sayone,

    No, the way dataPoints are rendered should not be related to AJAX calls. Can you please create a jsfiddle reproducing the issue so that we can look into it and help you out better?

    ___
    Suyash Singh
    Team CanvasJS

    #17478

    OK

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

You must be logged in to reply to this topic.