# Report module - timeseries chart axis format

**URL:** <https://forum.inductiveautomation.com/t/report-module-timeseries-chart-axis-format/30529>\
**Category:** Ignition\
**Created:** [December 9, 2019, 10:16am UTC](https://forum.inductiveautomation.com/t/report-module-timeseries-chart-axis-format/30529 "2019-12-09T10:16:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.eichler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/john.eichler/32/24632_2.png) [@john.eichler](https://forum.inductiveautomation.com/u/john.eichler)\
**Post date:** [December 9, 2019, 10:16am UTC](https://forum.inductiveautomation.com/t/report-module-timeseries-chart-axis-format/30529/1 "2019-12-09T10:16:17Z")

</div>

V8.05.

Please can someone tell me how to change the text format on the x axis (time) of a time series chart in the report designer?

Thanks

---

<div class="post-metadata">

**Author:** ![john.eichler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/john.eichler/32/24632_2.png) [@john.eichler](https://forum.inductiveautomation.com/u/john.eichler)\
**Post date:** [December 16, 2019, 2:10am UTC](https://forum.inductiveautomation.com/t/report-module-timeseries-chart-axis-format/30529/2 "2019-12-16T02:10:57Z")

</div>

Any suggestions or is this a missing feature? I would like to purchase the reporting module but without this functionality, it is unuseable.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 16, 2019, 4:27pm UTC](https://forum.inductiveautomation.com/t/report-module-timeseries-chart-axis-format/30529/3 "2019-12-16T16:27:05Z")

</div>

You’ll need to go into the `configureChart` function. It’s almost certainly possible, but isn’t easily exposed as a setting in the API. If you dig through the forum, there are various examples of working with the chart. In general, you probably need to do something like:  
`chart.getPlot().getDomainAxis()` which will return (probably) a `DateAxis` (or some similar class) that has various useful methods:  
[http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/axis/DateAxis.html](http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/axis/DateAxis.html)

This is untested, but start with something like this:

```auto
from java.text import SimpleDateFormat
df = SimpleDateFormat("h:mm a")
chart.plot.domainAxis.dateFormatOverride = df

```

Where the date format can use any of the formatting characters specified in SimpleDateFormat, detailed here:  
[https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html](https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html)
