Donut Visual template , Stacking and adding Markers

3 posts, 0 answers
  1. Andrew
    Andrew avatar
    10 posts
    Member since:
    Aug 2019

    Posted 13 Aug Link to this post

    Hi Team,

     

    Is it possible to stack or group series on the DonutSeries?

    Is there a way to add borderstyle instead of the background color?

    Please see screenshot.

     

  2. Vessy
    Admin
    Vessy avatar
    2068 posts

    Posted 13 Aug Link to this post

    Hi Andrew,

    The data passed to Donut/Pie chart is actually added to one series, which is just visually displayed as separate ones, thus stacking/grouping in these chart types is currently not possible.

    As for the border set to the series, there is an already feature request for the same, so you can vote for it here:

    https://feedback.telerik.com/aspnet-ajax/1373488

     

    In the item above you can see also a sample on how you can set a border through the Kendo widget of the chart:

    Javascript:
    	<script language="javascript">
    		function pageLoad() {
    			var chart = $find("RadHtmlChart1");
    			chart._chartObject.options.series[0].border = {
    				width: 2,
    				color: "black",
    				dashType: "dash",
    				opacity: 0.2
    			}
    			chart.repaint();
    		}
    	</script>
    
    ASPX:
    	<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Width="600" Height="400">
    		<PlotArea>
    			<Series>
    				<telerik:ColumnSeries>
    					<SeriesItems>
    						<telerik:CategorySeriesItem Y="30" />
    						<telerik:CategorySeriesItem Y="10" />
    						<telerik:CategorySeriesItem Y="20" />
    					</SeriesItems>
    				</telerik:ColumnSeries>
    			</Series>
    		</PlotArea>
    	</telerik:RadHtmlChart>

     

    Regards, Vessy
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Andrew
    Andrew avatar
    10 posts
    Member since:
    Aug 2019

    Posted 13 Aug in reply to Vessy Link to this post

    Thanks for your quick responses.

    could you please send an image of this working, because I just tested the code and can't really see the dash lines, could you also please do it in Donutseries instead of a Columnseries.

     

    Thanks 

     

Back to Top