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

I am unable to get the MarkersAppearance.

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chandu
Top achievements
Rank 1
Chandu asked on 19 Apr 2013, 12:30 PM
Hi Team,

I am developing the line chart by using RadChart in asp.net with C#(visual studio 2010), data is binding dynamically from the DB, I have the following issues,
1)  Need to display the MarkersAppearance for each point.
2) I need to draw the line at current month, to differentiate the past and future months.
3) Need to display the chart title in center, with background color to the entire area.
for reference please see the attachment.

I already refer the following links, but unable to fix above issues.
a) http://www.telerik.com/help/aspnet-ajax/htmlchart-types-line-chart.html
b) http://www.telerik.com/help/aspnet-ajax/chart-building-programmatic-create-complex.html



Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 24 Apr 2013, 07:14 AM
Hi Chandu,

 1) To show the pointmarks, you'll need to turn their visibility on and to specify their size and color . Here's an example:

chartSeries.Appearance.PointMark.Dimensions.AutoSize = false;
chartSeries.Appearance.PointMark.Dimensions.Width = 5;
chartSeries.Appearance.PointMark.Dimensions.Height = 5;
chartSeries.Appearance.PointMark.FillStyle.MainColor = System.Drawing.Color.Black;
chartSeries.Appearance.PointMark.Visible = true;

2) Such line can be represented by a Marked Zone where its StartX, EndX, StartY, and EndY points are specified so that it gets drawn as vertical line. Here you may find and example and more details. 

3) You need to go to the CharTitle element from the Property Grid and its corresponding Appearance settings to achieve this. You may also find our Chart Wizard helpful with such customizations.

Greetings,

Evgenia
the Telerik team

 

If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Chandu
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or