windows store apps - WinRT-xaml-Toolkit: Line Series with median Line -
is there way implement median line using lib?
the way think work adding new lineseries , add median each value in data-lineseries
something this:
<charting:chart> <charting:chart.series > <charting:lineseries itemssource="{binding articles}" title="test title" height="400" width="400" independentvaluepath="datetime" dependentvaluepath="price" > </charting:lineseries> ---pseudo---- <charting:lineseries x:name="median" itemssource="{binding articles}" title="median" independentvaluepath="datetime" dependentvaluepath="median"> </charting:lineseries> </charting:chart.series> </charting:chart> this cause me add median value of product each article is..kinda unnecessary.
is there easier way this? or way fills space between data , median color (e.g. http://www.jidesoft.com/images/line-chart-gradient-fill.png)?
thanks in advance
i don't think there built in statistical functions in datavisualization library ported silverlight toolkit, can provide own data source separate articles 1 has range of values want.
i can't recall if filled style of data series visualization implemented, try create modified version of lineseries 1 support fill or check source if such property available. might doable changing style of series.
Comments
Post a Comment