RadHtmlChart API tell marker to fill

Thread is closed for posting
2 posts, 0 answers
  1. Doug
    Doug avatar
    104 posts
    Member since:
    Aug 2014

    Posted 13 Jan 2015 Link to this post

    I am using API to set much of the properties of the series because they are dynamically build.
    when I create a series / then add it to PlotArea the values of the colors are not set. I suppose they set when chart is bound / or rendered.
    is there an early API way to tell the markers to just auto fill with whatever their color is going to be?

    or will I need to explicitly set the marker color/style myself and rotate through a range of colors/shapes as I add series?
    right now the system auto creates the colors.
  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 14 Jan 2015 Link to this post

    Hello Doug,

    You can use the MarkersAppearance tag in order to configure the markers of the series (e.g., background color, border color, etc.):
    <telerik:RadHtmlChart runat="server" ID="ColumnChart1" Width="600px" Height="400px">
                <telerik:LineSeries Name="Product 1">
                    <Appearance FillStyle-BackgroundColor="Blue"></Appearance>
                    <MarkersAppearance BackgroundColor="Green" BorderColor="Red" />
                        <telerik:CategorySeriesItem Y="15000" />
                        <telerik:CategorySeriesItem Y="23000" />
                        <telerik:CategorySeriesItem Y="10000" />

    Danail Vasilev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top