Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

How to add point on each chart data point

$
0
0

When i try the lase option using "define the template as string and use the XamlReader.Parse() method":

stringpointTemplateString = @"<DataTemplate xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"" xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"">"+
                      @"<Ellipse Fill=""Red"" Width=""10"" Height=""10"" /></DateTemplate>";

series.PointTemplate = (DataTemplate)XamlReader.Parse(pointTemplateString);

XamlParseException occurred:

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: The 'DataTemplate' start tag on line 1 position 2 does not match the end tag of 'DateTemplate'. Line 1, position 183.

 

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>