In Syncfusion, they define something called strippers which are lines of interest. You specify one or more X Values and it will draw a line at that position and allow annotations on the line.
Lets say you are plotting A vs. B and you want to draw a line at specified points on a given axis. Lets say the rating of A is 100 (rating being defined as the maximum value it can be operated at safely) and you want a line drawn at A so you can see if any points are operating outside of the maximum rating.
So at 100, I want to draw a line and put annotation like "Maximum Rating" and draw accross the chart.
How does one do this in ComponentOne?
Hello,
I suppose you can do that using auxiliary series. e.g.
<c1chart:C1Chart Name="c1Chart1" ChartType="Line"> <c1chart:C1Chart.Data> <c1chart:ChartData> <c1chart:XYDataSeries XValues="1 2 3 4 5" Values="20 88 105 90 25" />
<!-- Line --> <c1chart:XYDataSeries XValues="1 5" Values="100 100" ConnectionStroke="Red" ConnectionStrokeThickness="3" />
<!-- Label at the center of line --> <c1chart:XYDataSeries XValues="3" Values="100" > <c1chart:XYDataSeries.PointLabelTemplate> <DataTemplate> <TextBlock Text="Maximum" c1chart:PlotElement.LabelAlignment="TopCenter" /> </DataTemplate> </c1chart:XYDataSeries.PointLabelTemplate> </c1chart:XYDataSeries>
</c1chart:ChartData> </c1chart:C1Chart.Data></c1chart:C1Chart>
--Best regards,Alex