# Non-datetime Based Scatter Plot

**URL:** <https://forum.inductiveautomation.com/t/non-datetime-based-scatter-plot/18480>\
**Category:** Ignition\
**Created:** [June 15, 2018, 12:59am UTC](https://forum.inductiveautomation.com/t/non-datetime-based-scatter-plot/18480 "2018-06-15T00:59:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 15, 2018, 12:59am UTC](https://forum.inductiveautomation.com/t/non-datetime-based-scatter-plot/18480/1 "2018-06-15T00:59:31Z")

</div>

Hi,

I would like to display a scatter plot/chart with trend line that isn’t datetime-based.  
The domain needs to be in ‘hours from start’.

A picture tells 1000 words. This is what I want (ignore markers):  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bae7ab1827969750acae383d233d5ca616d2768f.png)

Is this possible?

Cheers

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 15, 2018, 1:16am UTC](https://forum.inductiveautomation.com/t/non-datetime-based-scatter-plot/18480/2 "2018-06-15T01:16:08Z")

</div>

The Classic Chart accepts plain numbers on the domain axis for XY Plots. You’ll have some fun with SQL to produce those pens, though. Might be easiest to post-process a tag history with jython.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 15, 2018, 1:30am UTC](https://forum.inductiveautomation.com/t/non-datetime-based-scatter-plot/18480/3 "2018-06-15T01:30:01Z")

</div>

Thanks Phil, it looks like the flu is affecting my brain today 🙂  
I had a better look in the chart customiser and sure enough, there’re a number of different number styles to choose from for both axes (date, numbers, logarithmic, etc.)
