I created chart with line serious, lines contain positive and negative points.
Always X, Y axis panel (unit, scale, step)
Be bottom and left side’s .i need x, y axis panel in center
|1
-1 -- -- |------1
|-1
Like this.
>What steps need for x-axis,y-axis panel in center?
> How to find the x, y co-ordinates while mouse hover the telerik chart?
7 Answers, 1 is accepted
When having negative values, you can accommodate the setup with a layout similar to this one:
http://www.telerik.com/help/silverlight/radchart-features-negative-values.html
Additionally, you can use marked zones as an additional level of annotation for the chart. More information on this is available in the following article:
http://www.telerik.com/help/silverlight/radchart-features-annotations-marked-zone.html
I hope this information gets you started properly.
Best wishes,
Yavor
the Telerik team
- I want find the x,y co-ordinates of chart while mouse hover the chart area(not only DataSeries)
- Your example chart negative value displayed at bottom and left side .i need this value
In center of chart .please find, here I attached my sample chart image.
You can use the mouse handlers to get additional data on the coordinates. This may look something like this:
<telerikChart:RadChart Name="RadChart1" ItemsSource="{Binding}" MouseLeftButtonDown="RadChart1_MouseLeftButtonDown">
</telerikChart:RadChart>
private void RadChart1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
MessageBox.Show(e.GetPosition(RadChart1).ToString());
}
Kind regards,
Yavor
the Telerik team
i need the Chart x,y position(AxisX, AxisY –coordinates),not screen position!...
Can you please elaborate a little bit more on the precise required functionality?
Do you need to get the x/y values when hovering over the chart area? Or perhaps the precise position of the chart on the screen? Any additional information will help me better address the question at hand.
Sincerely yours,
Yavor
the Telerik team
i need to get the x/y values when hovering over the chart area...
At present, there is no easy and precise way to handle this setup. You can use the tooltips of the chart series to get additional data. However clicking anywhere on the chart area and getting this information is not a supported scenario out of the box at this moment.
Regards,
Yavor
the Telerik team