# Classic Chart date range

**URL:** <https://forum.inductiveautomation.com/t/classic-chart-date-range/28175>\
**Category:** Ignition\
**Created:** [September 11, 2019, 2:42pm UTC](https://forum.inductiveautomation.com/t/classic-chart-date-range/28175 "2019-09-11T14:42:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pascal](https://forum.inductiveautomation.com/u/pascal)\
**Post date:** [September 11, 2019, 2:42pm UTC](https://forum.inductiveautomation.com/t/classic-chart-date-range/28175/1 "2019-09-11T14:42:33Z")

</div>

Hello,

I’m torturing myself with the Classic Chart component.  
I have a dataset with one value per week (starting on monday). Here is the Chart and the Dataset used to populate this chart.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1a089d7d523d1f31445c42bfb02571691bad950f.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e56b825f6524d9a8d2633b46016f7ece5f8862c9.png)  
What I would like is to have the ticks on the x-axis to be centered on the bars and display the date that is in the dataset.  
Is it possible ?

---

<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:** [September 11, 2019, 3:33pm UTC](https://forum.inductiveautomation.com/t/classic-chart-date-range/28175/2 "2019-09-11T15:33:38Z")

</div>

Try changing your chart to a ‘Category’ configuration. This is a slightly painful process that will probably throw a series of errors at you while you’re in the process of doing it.

1. Change the ‘Chart Type’ property on the chart itself to ‘Category Chart’.
2. In the Chart Customizer → X Axes, create a new Category axis.
3. In the Chart Customizer → Dataset Properties, switch the X-Axis of the ‘Data’ property to your new category axis.
4. In the same Dataset Properties, switch the renderer to ‘Category Bar Renderer’.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/fd463e15e00585a1201be7dd07612ce3b47d95a0.png)

---

<div class="post-metadata">

**Author:** ![pascal](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pascal](https://forum.inductiveautomation.com/u/pascal)\
**Post date:** [September 12, 2019, 7:04am UTC](https://forum.inductiveautomation.com/t/classic-chart-date-range/28175/3 "2019-09-12T07:04:45Z")

</div>

Will try that, I’ll just have some date formatting to do because the Data is populated with a SQL query.  
Thnaks alot !
