cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

How to customize date in Bar Chart

einsfeldleins
5-Regular Member

How to customize date in Bar Chart

Hi everyone.

 

I am using the Custom Chart Widgets v3.0.1 from marketplace.

 

I would like to change the date format.

 

In the moment the date is like:

BarChart.JPG

 

Você pode observar que a data esta muito longa. Quero um formato simples (MM / DD / AAAA)

4 REPLIES 4

Easiest would be to format it before returning it to the mashup in your service.

you can also take a look at the localization tag which i believe determines date formatting to an extend.

 

Maybe even the chart x-axis format itself? I don't think it has this, but just wondering, since Grid would have it.

einsfeldleins
5-Regular Member
(To:PaiChung)

Hi @PaiChung 

 

I'm sorry, but how to find the "localization tag"?

There should be something like: dateTimeFormat_Default 

In the localization tables

In Timeseries Chart we have XAxisFormat that you can change the timestamp format you want to present

 

In Bar Chart, there is only a LabelAngle that allows you to have more space for the time property.

 

While if you use Label chart - Bar style, set

XAxisField - time property; 

XAxisLabelType - Date/Time; 

XAxisFormat - dd-MM hh:mm  or other style

You can have the right chart you want.

 

 

Top Tags