Accepted answer

you can fudge it with the x axis label's x property.


[[update after comments:

if you mean that you want the data points to also line up 'between', then there isn't a good easy way.

my approach would be

1) make sure there is only one data point per axis tick, ideally

2) adjust the x value of the data point to push it to the right in a way that corresponds with the label offset

3) adjust tooltip formatters to correct the date for display

or, 4) just go with categories

however, if you can explain why you want to do this, what effect you're going for, perhaps there's more that can be done.

{{further updates:

after playing around a little more, i found another way to fudge the data point placement, though i am unclear whether you need that.

example here:

it uses the pointplacement property. the catch is that the pointplacement property doesn't work if there is not a columns series present with as many data points as the line series, it seems.

so this method adds and hidden dummy column series in order to make the pointplacement property affect the line series.

not elegant, but it beats having to adjust the data values and then re-adjust them in the formatter.

Related Query

More Query from same tag