Hi,
I want to show an image for datapoints (same image for each data point) of the scatter series.the xaml looks like this :
Background="Gray">
DependentValueBinding="{Binding Path=Value}">
Then,
The code sets the style in this way :
((ScatterSeries)mcChart_CustomSection.Series[0]).ItemsSource =
new KeyValuePair
new KeyValuePair
new KeyValuePair
};
var ss1 = (ScatterSeries)mcChart_CustomSection.Series[0];
mcChart_CustomSection.Series.Remove(ss1);
ss1.DataPointStyle = (Style)this.Resources["DataPointStyle1"];
mcChart_CustomSection.Series.Add(ss1);
But, it does not work.(The points are not plotted).
Is it possible to show image there(Images\customImage.png)?
Thanks.
qoiu thegreatPosted Mar 30, 2012, 2:00 AM
Since, my image is going to be like a rectangle, with some text inside it, I tried to first simply use :
instead
It plots the datapoint and shows rectangle, but, the rectangle shown is very small. I want to increase the size of that rectangle.(increasing Height, width does not work).