I'm using Chart.JS and I'd like to create a bar chart where the X axis is linear. The documentation on doing this is scant, and I haven't been able to get a working set of configs.
So for example, let's say I have the following pairs: (1, 1), (2, 2), (3, 3), (5, 1), (6, 5), (7, 1). I want to plot a bar chart where x value 1 has a bar of height 1, x value 6 has a bar of height 5, and so on. But, I want the number 4, which isn't included in my set of pairs, to still be visible on the x axis with value 0.
Is this something that'spossible with built-in functionality? My current backup is to just manually insert missing ticks as categories with y-value 0 but it'd be nice if there was just an option for it.
