Jump to content
Software FX Community

NDev

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by NDev

  1.  Hello,

    I'm wondering how it's possible to change the charttype dynamically.For example:This would output a Pie chart as expected:<cfx:Chart Gallery="Pie" x:Name="KpiChart" Margin="2,2,2,2" Grid.Row="0" Grid.Column="1">

    This would output a Line chart as expected:<cfx:Chart Gallery="Line" x:Name="KpiChart" Margin="2,2,2,2" Grid.Row="0" Grid.Column="1"> If I decide to change it during runtime such as:XAML be like:<cfx:Chart Gallery="Pie" x:Name="KpiChart" Margin="2,2,2,2" Grid.Row="0" Grid.Column="1">Code-Behind:KpiChart = new Chart { Gallery = Gallery.Line };It ignores that and uses a Pie chart.

     

    If anyone has any suggestions or help that would be great. Thanks.

×
×
  • Create New...