Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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:
Você pode observar que a data esta muito longa. Quero um formato simples (MM / DD / AAAA)
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.
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.