Change size of Points

Thread is closed for posting
6 posts, 0 answers
  1. Dan Schmecker
    Dan Schmecker avatar
    13 posts
    Member since:
    Dec 2009

    Posted 04 Jan 2010 Link to this post

    How would one change the size of the Points in a Chart Series?

    Thanks.
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 05 Jan 2010 Link to this post

    You can change the size of the points in the following ways:

    Code-behind:
    mySeries.Appearance.PointDimentions.Height = Telerik.Charting.Styles.Unit.Pixel(100); 
    mySeries.Appearance.PointDimentions.Width = Telerik.Charting.Styles.Unit.Pixel(100); 

    ASPX:
    <Appearance PointDimentions-AutoSize="false" PointDimentions-Height="5px" PointDimentions-Width="5px" PointShape="Rectangle" ShowLabels="False"

    Both ways allow you to get full control over the side of your point (this particular case is assuming it's a rectangular shape).
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jeff M
    Jeff M avatar
    2 posts
    Member since:
    Jan 2010

    Posted 07 Jan 2010 Link to this post

    Is there a way to change the size of an individual point in a point graph?  I am trying to map 3 values to a point (x-axis, y-axis, size of point) but I can't seem to re-size a single point.

    Is the best solution to just have each point be its own series?  This is just a scatter plot of points, not a line graph.
  5. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 08 Jan 2010 Link to this post

    I believe if you use the following code you should be able to resize a single point:

    mySeries.Items[0].Appearance.PointDimentions.Width = ... ; 
    mySeries.Items[0].Appearance.PointDimentions.Height = ... ; 

  6. Jeff M
    Jeff M avatar
    2 posts
    Member since:
    Jan 2010

    Posted 08 Jan 2010 Link to this post

    Thank you.  That works.
  7. nFocus
    nFocus avatar
    3 posts
    Member since:
    May 2010

    Posted 11 Dec 2012 Link to this post

    Anybody notice PointDimentions is misspelled
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017