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

PointMark Size ?

5 Answers 169 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 29 May 2008, 10:25 AM
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

Sort by
0
Giuseppe
Telerik team
answered on 30 May 2008, 08:08 AM
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
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!
0
Giuseppe
Telerik team
answered on 02 Jun 2008, 08:41 AM
Hello Trong,

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!
Tags
Chart (Obsolete)
Asked by
Pete
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Pete
Top achievements
Rank 1
Trong
Top achievements
Rank 1
Share this question
or