Declined
Last Updated: 19 Aug 2019 04:39 by ADMIN
nonick
Created on: 22 Jul 2019 13:30
Category: UI for Blazor
Type: Feature Request
1
bind charts using lamda
Can i bind charts using lamda expressions? If i have an array of objects i may want subsets of these objects to be part of separate series on the chart. To select them i would like to be able to write expressions on each series.
2 comments
ADMIN
Marin Bratanov
Posted on: 19 Aug 2019 04:39
Hello,

I am closing this item as it seems to work fine for me, and there haven't been further reports of erroneous behavior. If you continue to experience the issue, please post here a runnable snippet that showcases the problem so I can investigate.


Regards,
Marin Bratanov
Progress Telerik UI for Blazor
ADMIN
Marin Bratanov
Posted on: 22 Jul 2019 16:38
Hi,

The data properties of the chart have types (IEnumerable for the series data, object[] for the axis data, but that will probably change to an IEnumerable as well in the foreseeable future). Thus, you can provide even methods that work with the data you have and return the appropriate types. If this does not work for you, could you post a simple proof of concept that shows the problem you are facing?


Regards,
Marin Bratanov
Progress Telerik UI for Blazor