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
115
Category Series
posted

Hi Team,

Is it possible to create a category series with dynamic series elements.

Below mentioned is the way my requirement of xam data chart  should looks like.

In the below mentioned sample the series are predefined as 5 but as per my requirement the number of series are dynamic that are categorized by a fixed category.

Can you please provide a sample if you have any.Thanks in advance for all you do.

The below mentioned part needs to be dynamic where the value member path should be dynamic.

Sample code :




Title="{Binding StringEnergyCoal, Source={StaticResource DataViewModel}}"
XAxis="{Binding ElementName=BarXAxis}"
YAxis="{Binding ElementName=BarYAxis}" IsHighlightingEnabled="True" IsTransitionInEnabled="True">

Title="{Binding StringEnergyHydro, Source={StaticResource DataViewModel}}"
XAxis="{Binding ElementName=BarXAxis}"
YAxis="{Binding ElementName=BarYAxis}" IsHighlightingEnabled="True" IsTransitionInEnabled="True">

Title="{Binding StringEnergyNuclear, Source={StaticResource DataViewModel}}"
XAxis="{Binding ElementName=BarXAxis}"
YAxis="{Binding ElementName=BarYAxis}" IsHighlightingEnabled="True" IsTransitionInEnabled="True">

Title="{Binding StringEnergyGas, Source={StaticResource DataViewModel}}"
XAxis="{Binding ElementName=BarXAxis}"
YAxis="{Binding ElementName=BarYAxis}" IsHighlightingEnabled="True" IsTransitionInEnabled="True">

Title="{Binding StringEnergyOil, Source={StaticResource DataViewModel}}"
XAxis="{Binding ElementName=BarXAxis}"
YAxis="{Binding ElementName=BarYAxis}" IsHighlightingEnabled="True" IsTransitionInEnabled="True">

Regards,

Sridhar.

Parents Reply Children
No Data