Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
DataTemplate for varying number of Series?
posted

I'm currently testing out IG's DataVisualizaion and Charting tools, xamDataChart looks very nice, and I'm wondering if it can emulate, in xaml, a sort of DataTemplate wrapper for a Series (Line particularly). I've had success with a different Charting toolkit with an external wrapper class, and it's code looked something like this:

 

        <multiChart:MultiChart>
            <multiChart:MultiChart.SeriesTemplate>
                <DataTemplate>
                    <chartingToolkit:LineSeries />
                </DataTemplate>
            </multiChart:MultiChart.SeriesTemplate>
        </multiChart:MultiChart>

The DataTemplate's the crucial part, as I do not know how many series I'll need to render until runtime. I don't see any kind of DataTemplate in the XamDataChart class, would there be another way to achieve this kind of behavior?

Parents Reply Children