Home Forums Chart Support Column with 2 datasets: missing datapoint shifts the whole chart

Column with 2 datasets: missing datapoint shifts the whole chart

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

    Hi,
    I have this data, charted on the same column chart (don’t pay attention to the “Completion” column)

    label y(1) y(2) Completion
    0:00 43 25 58.14%
    1:00 72 43 59.72%
    2:00 49 22 44.90%
    3:00 20 11 55.00%
    4:00 11 5 45.45%
    5:00 26 9 34.62%
    6:00 7 2 28.57%
    7:00 26 24 92.31%
    8:00 5 5 100.00%
    9:00 2 1 50.00%
    10:00 1 0.00% <- no value for the 2nd dataset
    11:00 1 1 100.00%
    12:00 8 4 50.00%

    At “10:00”, I don’t have a value for the 2nd dataset.
    As a result, the whole chart after that is shifted to the left, making visual comparison impossible to do reliably.

    How can I avoid that without having to compare the labels in each dataset and fill the blanks?

    • This topic was modified 10 years, 11 months ago by 26medias. Reason: table format was removed
    #5581

    Hi,

    You need to use “x” value instead of “label”(or both) for your case.

    Even if you use x parameter you will be able to format it like 10:00, 11:00, etc as shown here.

    In case this doesn’t solve the problem can you please reproduce the issue by forking our template jsfiddle. That way I’ll be able to fix the issue right away if possible.


    Sunil

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

You must be logged in to reply to this topic.