I am using Kendo chart to show some series successfully but now I intend to have a filter and show a series based on a value and another series on some other value, something like this:

.Series(series => {
        series.Line(p => p.ValueAM.Where(p.Code == 'hey')).Name("hey");
        series.Line(p => p.ValueAM.Where(p.Code == 'ho')).Name("ho");

The above shows an error in the editor:

Cannot convert lambda expression to type 'System.Collections.IEnumerable' because it is not a delegate type.

I was trying the above approach as something similar to the Kendo Grid filterable property of a column

.Columns(columns =>
        columns.Bound(p => p.OrderID).Filterable(f => f.Cell(c => c.ShowOperators(false)));

Is there a way to achieve this?

Related posts

Recent Viewed