I am unable to get the MarkersAppearance.

2 posts, 0 answers
  1. Chandu
    Chandu avatar
    7 posts
    Member since:
    Mar 2013

    Posted 19 Apr 2013 Link to this post

    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.
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 24 Apr 2013 Link to this post

    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.


    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.
Back to Top