chartist-plugin-threshold
chartist-plugin-threshold copied to clipboard
Issues with certain datasets on bar graphs
I am having an issue with certain series values causing some display issues. Certain datasets seem to work fine, wile others cause the values to be grouped together on the X axis, making the graph not display correctly. I am unable to figure out any consistancy as to when it works and when it doesn't.
Example of non-working code here: https://jsfiddle.net/up4af8ad/5/
Working datasets: series: [[3, 0, 4, 5, 6, -2, -1, -4, -6, 6, -2, -1, -4, 2, 3, -1, -2, 4, 2]] series:[[0],[0],[0],[0],[0],[0],[0],[0],[0],[-1],[-1],[-1],[0],[0],[0],[0],[0],[0]]
Non-working datasets: series: [[1],[-1],[0],[3],[-3],[2],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0]] series: [[0],[1],[-4],[0],[-1],[0],[1],[1],[1],[-1],[-1],[0],[0],[0],[0],[0],[0],[0]]