The date aggregation has ChartSeriesAggregate.First however it would be useful to also have ChartSeriesAggregate.Last iei aggregating share price.
Is there currently anyway to implement?
@(Html.Kendo().Chart(Model) .Name("chart") .Series(series => { series .Column(model => model.Value, categoryExpression: model => model.Date) .Aggregate(ChartSeriesAggregate.Avg); }) .CategoryAxis(axis => axis .Date() .BaseUnit(ChartAxisBaseUnit.Weeks) .MajorGridLines(lines => lines.Visible(false)) ) .ValueAxis(axis => axis .Numeric() .Line(line => line.Visible(false)) ) )
Hi Taki,
Yes, you are totally correct! The pointed functionality will be very useful.
Thank you for pointing this one to our attention. I am now increasing your Telerik points.
I logged this one as a Feature Request. You can see it here:
I have given a Vote on your behalf and you can Follow it for email notifications on status updates.
As a workaround, I would recommend a custom approach of getting the last value from the data for the series and adding it as a footer via jQuery.
Give a try to the approach above and let me know if further assistance is needed. If you like - send me a runnable sample of your application and I will try my best to achieve the desired result on my side.
Looking forward to hearing back from you.
Kind Regards,
Anton Mironov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.