# Vision Chart, X-Axis based on samples not time

**URL:** <https://forum.inductiveautomation.com/t/vision-chart-x-axis-based-on-samples-not-time/44643>\
**Category:** Ignition\
**Tags:** vision, ignition80\
**Created:** [March 18, 2021, 6:15pm UTC](https://forum.inductiveautomation.com/t/vision-chart-x-axis-based-on-samples-not-time/44643 "2021-03-18T18:15:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erines](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/erines/32/27381_2.png) [@erines](https://forum.inductiveautomation.com/u/erines)\
**Post date:** [March 18, 2021, 6:15pm UTC](https://forum.inductiveautomation.com/t/vision-chart-x-axis-based-on-samples-not-time/44643/1 "2021-03-18T18:15:02Z")

</div>

We have an Ignition Edge 8.0 system. We have a tag with history, on change logging, with 0 deadband.

I want to chart the last 20 values of this tag. I can easily figure out how to make a chart with time on the x-axis, but not have the last few samples on the x-axis.

Is this possible? I thought I had it with a ‘count’ axis in the classic chart, but that was just date in a different format.
