Home forums Chart Support Force empty labels on unexistant data

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5623

    I’m creating some simple line graphs where X data aren’t linear (example: X: 1, 3, 6) .
    The points are correctly distributed and displayed in the graph X axis, but in the nonesistant positions it automatically compile the label (2, 4, 5 appears).

    There is a way to hide the X labels where there isn’t any related data?


    Those labels are coordinates on the axis and are shown irrespective of whether a point exists or not. But in case you want to hide them, there is a workaround that I can suggest. But it works only if all x values are integers – or multiples of the set “interval”.

    Here is a JSFiddle http://jsfiddle.net/canvasjs/WH3Tt/

    Sunil Urs

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

You must be logged in to reply to this topic.