Hello Georg,
RadChartView does support negative values both on horizontal and vertical axes and will visualize them appropriately if there are such values in the chart series. You can also force the axes to start from negative values by setting the LinearAxis.Minimum property value like this:
<
telerik:RadCartesianChart
x:Name
=
"RadChart1"
Palette
=
"Metro"
>
<
telerik:ScatterLineSeries
>
<
telerik:ScatterDataPoint
YValue
=
"0"
XValue
=
"0"
/>
<
telerik:ScatterDataPoint
YValue
=
"1"
XValue
=
"1"
/>
<
telerik:ScatterDataPoint
YValue
=
"2"
XValue
=
"2"
/>
<
telerik:ScatterDataPoint
YValue
=
"1.8"
XValue
=
"3"
/>
<
telerik:ScatterDataPoint
YValue
=
"2.5"
XValue
=
"3.7"
/>
<
telerik:ScatterDataPoint
YValue
=
"3"
XValue
=
"5"
/>
<
telerik:ScatterDataPoint
YValue
=
"5"
XValue
=
"6"
/>
<
telerik:ScatterDataPoint
YValue
=
"5.7"
XValue
=
"6.2"
/>
<
telerik:ScatterDataPoint
YValue
=
"5.8"
XValue
=
"7.4"
/>
<
telerik:ScatterDataPoint
YValue
=
"5.8"
XValue
=
"8.5"
/>
<
telerik:ScatterDataPoint
YValue
=
"5"
XValue
=
"8.9"
/>
<
telerik:ScatterLineSeries.PointTemplate
>
<
DataTemplate
>
<
Ellipse
Height
=
"8"
Width
=
"8"
Fill
=
"White"
Stroke
=
"Black"
/>
</
DataTemplate
>
</
telerik:ScatterLineSeries.PointTemplate
>
</
telerik:ScatterLineSeries
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:LinearAxis
Minimum
=
"-2"
MajorStep
=
"1"
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
Minimum
=
"-2"
MajorStep
=
"1"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:RadCartesianChart.Grid
>
<
telerik:CartesianChartGrid
MajorLinesVisibility
=
"XY"
/>
</
telerik:RadCartesianChart.Grid
>
</
telerik:RadCartesianChart
>
Hope this helps.
Regards,
Giuseppe
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>