Silverlight 3 scatter chart
hi guys,
i using scatter series chart in silverlight 3.
my purpose creating chart many points , every point has legend. when user hovers on point, label appear and display informations of point (ex: legend, name, dependentvalue etc.). want manipulate color , form of points too.
this sounds scatter chart except part of legend. create each point series , give style.
foreach (....)
{
.....
this.charting.series.add(series);
((scatterseries)charting.series[charting.series.count - 1]).datapointstyle = this.resources["scatterpoint"] style;
...
}
i use simple style test:
<style targettype="chartingtoolkit:scatterdatapoint" x:key="scatterpoint">
<setter property="template">
<setter.value>
<controltemplate targettype="chartingtoolkit:scatterdatapoint">
<ellipse stroke="black" fill="red"/>
</controltemplate>
</setter.value>
</setter>
</style>
when test, points have varied colors. means style not work.
so how manipulate style in case? or has solution?
thanks.
hi,
mean "always have varied colors"?
tested style. , series has red bordered ellipse datapoint.
best regards
Silverlight > Silverlight Controls and Silverlight Toolkit
Comments
Post a Comment