BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
_barSeries = new BarSeries { ListenPropertyChange = true, XBindingPath = nameof(ChartData.Name), YBindingPath = nameof(ChartData.Value), TooltipEnabled = true, EnableAnimation = true, AnimationDuration = 0.8 }; _chartView.Series.Add(_barSeries);
var test = this.SetBinding(() => ViewModel.ChartCollection, () => _barSeries.ItemsSource);
public class BarseriesExt : BarSeries
{
private ObservableCollection<ChartData> data;
public ObservableCollection<ChartData> Data
{
get { return data; }
set
{
if (data != value)
{
data = value;
ItemsSource = data;
}
}
}
} |
this.SetBinding(() => Vm.BarData, () => Series.Data); |