This is a migrated thread and some comments may be shown as answers.

Chart axis alignment, axis coordinates

7 Answers 99 Views
Chart
This is a migrated thread and some comments may be shown as answers.
karthikeyan
Top achievements
Rank 1
karthikeyan asked on 22 Sep 2010, 07:44 AM

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

Sort by
0
Accepted
Yavor
Telerik team
answered on 24 Sep 2010, 08:31 AM
Hello karthikeyan,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
karthikeyan
Top achievements
Rank 1
answered on 28 Sep 2010, 01:52 PM
Hi

  • 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.

                                                                                                                         

0
Yavor
Telerik team
answered on 01 Oct 2010, 08:36 AM
Hello karthikeyan,

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>

and in the codebehind:

private void RadChart1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
MessageBox.Show(e.GetPosition(RadChart1).ToString());
}

I hope this information helps.

Kind regards,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
karthikeyan
Top achievements
Rank 1
answered on 05 Oct 2010, 01:10 PM

 

i need the Chart x,y position(AxisX, AxisY –coordinates),not screen position!...

0
Yavor
Telerik team
answered on 07 Oct 2010, 01:34 PM
Hello karthikeyan,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
karthikeyan
Top achievements
Rank 1
answered on 07 Oct 2010, 01:51 PM
yes Absolutely
i need to get the x/y values when hovering over the chart area...
0
Yavor
Telerik team
answered on 07 Oct 2010, 03:14 PM
Hi karthikeyan,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
karthikeyan
Top achievements
Rank 1
Answers by
Yavor
Telerik team
karthikeyan
Top achievements
Rank 1
Share this question
or