XAxis Origin at the YAxis

2 posts, 0 answers
  1. Sergio
    Sergio avatar
    30 posts
    Member since:
    Jul 2010

    Posted 24 May 2011 Link to this post

    If my Xaxis AutoScale is false and my start value is consistently a number say 10.
    How Can I make the start of my graph at (10,0) On.

    So instead of having 10 as a marker, make 10 the default marker that displays at the YAxis Line.

    Let me know
  2. Evgenia
    Evgenia avatar
    1398 posts

    Posted 27 May 2011 Link to this post

    Hello Sergio,

    You can set custom range for both axes by turning off the AutoScale property and providing MinValue, MaxValue and Step like this:
    this.radChart1.PlotArea.XAxis.AutoScale = false;
    this.radChart1.PlotArea.XAxis.AddRange(10, 20, 1);

    For more information you can refer to our help topic.

    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  3. DevCraft banner
Back to Top