Quantcast
Channel: Modern UI (Metro) Charts for Windows 8, WPF, Silverlight
Viewing all articles
Browse latest Browse all 372

Commented Feature: Binding ChartSeries propertis not works [16247]

$
0
0
Hey. First of all, thanks a lot. Good job, well done. Great...
And issue:
Is it possible to bind `ChartSeries`' properties? I have tried this, but not works. Thanks in advance.

Code:

<chart:ClusteredColumnChart Grid.Row="1">
<chart:ClusteredColumnChart.Series>
<chart:ChartSeries
SeriesTitle="{Binding ElementName=MainUserControl,Path=DataContext.SeriesTitle}"
DisplayMember="Date"
ValueMember="{Binding RelativeSource={RelativeSource FindAncestor,
AncestorType={x:Type UserControl}}, Path=DataContext.SelectedField,
Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
ItemsSource="{Binding Path=Items}" />
</chart:ClusteredColumnChart.Series>
</chart:ClusteredColumnChart>

None of `SeriesTitle` nor `ValueMember` got bind.
Comments: ** Comment from web user: kavand **

Thanks to answer. I have another suggestion too. I'm using the `Chart` in a `.NET 4` desktop app. So, I had no choice, except creating a new project, copy solution items, and compile it again. It seems some features you have used in project, are not compatible with `.NET 4`. While `.NET 4` is a public version developers use, I think it will be a good functionality to have a `.NET 4` compatible version. Thanks again. I really enjoy the project. It's perfect.


Viewing all articles
Browse latest Browse all 372

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>