You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mlzummo edited this page Dec 14, 2015
·
3 revisions
AmCharts and HPCC Charts support d3 formatting/parsing & time formatting/parsing which can be utilized as follows:
For Time Series Data:
In order for the chart to understand that the data/value field your inputting is a DT field, you must set the corresponding axes Time Pattern Field (xAxisTypeTimePattern/yAxisTypeTimePattern). This will accept a D3 Time format string and parse the date into a Javascript Date Object.
If you would like to then change the way this DT is a displayed you can use the following Publish Parameter and the same formatting paradigm: (xAxisTickFormat/yAxisTickFormat)
You must also set the corresponding AxisType Publish Parameter to "Time".
For Regular Number Data:
All that needs to be set is the (xAxisTickFormat/yAxisTickFormat) Publish Parameter and use a Regular D3 Format String: