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

Change size of Points

5 Answers 144 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Dan Schmecker
Top achievements
Rank 1
Dan Schmecker asked on 04 Jan 2010, 04:05 PM
How would one change the size of the Points in a Chart Series?

Thanks.

5 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 05 Jan 2010, 09:16 PM
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).
0
Jeff M
Top achievements
Rank 1
answered on 07 Jan 2010, 08:41 PM
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.
0
Schlurk
Top achievements
Rank 2
answered on 08 Jan 2010, 04:38 PM
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 = ... ; 

0
Jeff M
Top achievements
Rank 1
answered on 08 Jan 2010, 04:46 PM
Thank you.  That works.
0
nFocus
Top achievements
Rank 1
answered on 11 Dec 2012, 07:03 PM
Anybody notice PointDimentions is misspelled
Tags
Chart (Obsolete)
Asked by
Dan Schmecker
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Jeff M
Top achievements
Rank 1
nFocus
Top achievements
Rank 1
Share this question
or