Chart axis alignment, axis coordinates

8 posts, 1 answers
  1. karthikeyan
    karthikeyan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 22 Sep 2010 Link to this post

    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?

     

  2. Answer
    Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 24 Sep 2010 Link to this post

    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
  3. karthikeyan
    karthikeyan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 28 Sep 2010 Link to this post

    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.

                                                                                                                             

  4. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 01 Oct 2010 Link to this post

    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
  5. karthikeyan
    karthikeyan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 05 Oct 2010 Link to this post

     

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

  6. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 07 Oct 2010 Link to this post

    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
  7. karthikeyan
    karthikeyan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 07 Oct 2010 Link to this post

    yes Absolutely
    i need to get the x/y values when hovering over the chart area...
  8. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 07 Oct 2010 Link to this post

    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
Back to Top