Hi, no matter what I do to the Pointmark appearance it doesn't change the size of the point. I have used the following
ChartSeries1.Appearance.PointMark.Dimensions.Height = 30;
ChartSeries1.Appearance.PointMark.Dimensions.Width = 30;
ChartSeries1.Appearance.PointMark.Visible =
true;
// Range High
ChartSeries2.Appearance.PointMark.Dimensions.Height=5;
ChartSeries2.Appearance.PointMark.Dimensions.Width = 5;
ChartSeries2.Appearance.PointMark.Visible =
true;
Yet both of the points are exactly the same size, is there another way of doing this ?
5 Answers, 1 is accepted
0
Hi Pete,
In order to set custom width / height for the pointmark, you need to set the ChartSeries.Appearance.PointMark.Dimensions.AutoSize property to false.
Hope this helps.
Kind regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
In order to set custom width / height for the pointmark, you need to set the ChartSeries.Appearance.PointMark.Dimensions.AutoSize property to false.
Hope this helps.
Kind regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Pete
Top achievements
Rank 1
answered on 30 May 2008, 12:06 PM
Thanks Manuel, I did actually find that solution in one of the point examples but didn't get round to updating the thread, that's sorted the problem anyway so thanks again.
0

Trong
Top achievements
Rank 1
answered on 31 May 2008, 04:17 AM
Hi,
I think I've the same problem, I use Line Chart and i want to all points ( X,Y from datasource) display another style (size, color,..)
My code:
valueSeries.Appearance.PointMark.Dimensions.Height = 300;
valueSeries.Appearance.PointMark.Dimensions.Width = 300;
valueSeries.Appearance.PointMark.Visible = true;
valueSeries.Appearance.PointMark.Dimensions.AutoSize = false;
But no thing change!
I think I've the same problem, I use Line Chart and i want to all points ( X,Y from datasource) display another style (size, color,..)
My code:
valueSeries.Appearance.PointMark.Dimensions.Height = 300;
valueSeries.Appearance.PointMark.Dimensions.Width = 300;
valueSeries.Appearance.PointMark.Visible = true;
valueSeries.Appearance.PointMark.Dimensions.AutoSize = false;
But no thing change!
0
Hello Trong,
You need to set an appropriate point mark color as well:
Hope this helps.
Kind regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You need to set an appropriate point mark color as well:
valueSeries.Appearance.PointMark.FillStyle.MainColor = Color.Red; |
valueSeries.Appearance.PointMark.FillStyle.SecondColor = Color.White; |
Hope this helps.
Kind regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Trong
Top achievements
Rank 1
answered on 03 Jun 2008, 07:15 AM
Thanks you very much!