Jump to content
Software FX Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About NDev

  • Rank
  1. Resolved problem with help from ChartFX team.Solution:Not to use new Chart just to useKpiChart.Gallery = Gallery.Line;
  2. 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...