Please see the attached screenshot of a chart. Using CartesianChart, RangeBarSeries and DateTimeCategoricalAxis
Ideally we would like to be able to display x axis labels under the ticks as shown in the attached screenshot however we want the series to display between ticks (shifted to the left) and without the padding. The combinations we have tried are as follows :
- Use PlotMode = OnTicksPadded (Labels are fine but series are on the line and padding on either side is undesirable)
- Use PlotMode = OnTicks (Labels are right and padding is gone but series on the far right is truncated)
- Use PlotMode = OnTicks and add half a grid width to the bar series (labels look right, no padding and series look right but tool tips are still over the original series position)
- Use PlotMode = BetweenTicks (Series look right but labels are in the center)
- Use PlotMode = BetweenTicks and shift labels to the right by half a grid width (Labels, series and tooltips correct but missing the first date point (i.e. really need to add another date to the axis)
None of the above give the desired functionalty, could you please advise how to achieve this.
Regards
Willem
Ideally we would like to be able to display x axis labels under the ticks as shown in the attached screenshot however we want the series to display between ticks (shifted to the left) and without the padding. The combinations we have tried are as follows :
- Use PlotMode = OnTicksPadded (Labels are fine but series are on the line and padding on either side is undesirable)
- Use PlotMode = OnTicks (Labels are right and padding is gone but series on the far right is truncated)
- Use PlotMode = OnTicks and add half a grid width to the bar series (labels look right, no padding and series look right but tool tips are still over the original series position)
- Use PlotMode = BetweenTicks (Series look right but labels are in the center)
- Use PlotMode = BetweenTicks and shift labels to the right by half a grid width (Labels, series and tooltips correct but missing the first date point (i.e. really need to add another date to the axis)
None of the above give the desired functionalty, could you please advise how to achieve this.
Regards
Willem