wpf - How to create disconnected line graph? -


I am working with Silverlight and WPF Stock Exchange applications. I am trying to create graph like a scattered line graph.

How can I attract this chart? Can this be done by the Silverlight Toolkit graph? Or can someone suggest some easy but good looking charting libraries?

I have drawn a chart image in Paint for your reference Enter image details here < / P>

You can easily use the chart above. I've attached the following XAML code for that.

  & lt; Vc: charts xmlns: vc = "clr-namespace: visifire.chart; assembly = SLVisifire.Charts" theme = "theme1" width = "500" height = "300" & gt; & Lt; Vc: Chart.Series & gt; & Lt; Vc: Datasheres RenderAs = "Line" & gt; & Lt; Vc: DataSeries.DataPoints & gt; & Lt; Vc: datapoint XValue = "1" YValue = "6" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: datapown XValue = "2" YValue = "10" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: Datapoint XValue = "1.5" YValue = "" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: Datapoint XValue = "1.5" YValue = "5" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: datapoint XValue = "3" YValue = "3" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: Datapoint XValue = "2.8" YValue = "" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: datapoint XValue = "2.8" YValue = "8" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: Datapoint XValue = "3.5" YValue = "12" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: Datapoint XValue = "3.5" YValue = "" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: datapoint XValue = "3.5" YValue = "8" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: Datapoint XValue = "4.2" YValue = "12" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: datapoint XValue = "4" YValue = "" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: datapoint XValue = "4" YValue = "8" & gt; & Lt; / Vc: Datapoint & gt; & Lt; Vc: Datapoint XValue = "5" YValue = "6" & gt; & Lt; / Vc: Datapoint & gt; & Lt; / Vc: DataSeries.DataPoints & gt; & Lt; / Vc: DataSeries & gt; & Lt; / Vc: Chart.Series & gt; & Lt; / Vc: Chart & gt;   

As you can see, I have used a single series here with broken lines.

The chart below is an image for XAML.

Enter image details here

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -