Unplanned
Last Updated: 05 Jan 2017 07:58 by SurgicalScience
ADMIN
Telerik Admin
Created on: 22 Jul 2013 11:19
Category: ChartView
Type: Feature Request
6
ChartView: Introduce a way to snap plot band annotations and marked zone annotations to the ticks instead of the middle of the slot of the categorical axis
Currently plot band and marked zone annotations are not snapped to the ticks when the PlotMode of a CategoricalAxis is BetweenTicks. Instead the annotation starts from the middle of the slot, and from the middle of the bar (when using BarSeries). 

Introduce a way to snap plot band annotations and marked zone annotations to the ticks instead of the middle of the slot of the categorical axis.
3 comments
SurgicalScience
Posted on: 14 Nov 2013 08:17
Then we add band annotation like this:

      <telerik:RadCartesianChart.Annotations>
        <telerik:CartesianPlotBandAnnotation 
          Axis="{Binding ElementName=horizBandAxis}" 
          Fill="{StaticResource ColorSelectionBrush}" ZIndex="-200"
  
SurgicalScience
Posted on: 14 Nov 2013 08:15
Here's how we set up axes and series:

      <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:CategoricalAxis Name="horizontalAxis" PlotMode="BetweenTicks" />
      </telerik:RadCartesianChart.HorizontalAxis>

      <telerik:RadCartesianChart.Se
SurgicalScience
Posted on: 12 Nov 2013 03:57
We also stumbled on this issue, but are trying a workaround using multiple axes as follows:

Add an empty LineSeries with an invisible LinearAxis that specifies Minimum and Maximum to match the range/ticks of the categorical axis. (Minimum="0", Maximum="<n