Custom Argument format for Chart not working

Stimulsoft Dashboards.WEB discussion
Post Reply
atulalurkar
Posts: 4
Joined: Wed Jan 15, 2020 12:41 pm

Custom Argument format for Chart not working

Post by atulalurkar »

Hello,

I am using latest build of Stimulsoft Dashboards.Web

I want to display Jan-20, Feb-20 in order on X axis for Chart. I tried to set Custom Argument format but it is not working. Formating works only for standard formats available for date. There is one standard format which displays "2020, January" but it takes lot of space hence I don't want to use it.

I tried to get these values from result but then the order is disturbed. It sorts alphabetically like Apr-20, Aug-20 etc.

Any suggestions ?

Regards,

Atul
Lech Kulikowski
Posts: 6196
Joined: Tue Mar 20, 2018 5:34 am

Re: Custom Argument format for Chart not working

Post by Lech Kulikowski »

Hello,

You can add the calculated column as DataSourceName.ColumnName.ToString("MMM-yy") and use it in the Chart

Thank you.
Post Reply