# DB2: Chart timescale not shown correctly?

**URL:** <https://discourse.nodered.org/t/db2-chart-timescale-not-shown-correctly/98368>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [29 July 2025 20:57 UTC](https://discourse.nodered.org/t/db2-chart-timescale-not-shown-correctly/98368 "2025-07-29T20:57:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [29 July 2025 20:57 UTC](https://discourse.nodered.org/t/db2-chart-timescale-not-shown-correctly/98368/1 "2025-07-29T20:57:34Z")

</div>

Hello:

I am converting a chart from DB1 to DB2 and the timestamp doesn’t appear to be converted correctly. The same data displays correctly in DB1.

I have checked the timestamp data using epoch converter website and that looks correct.

Any help would be appreciated. Thanks

**DB1 Chart:**

 ![Screenshot 2025-07-29 at 3.48.45 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4d6a4c4be70443cf0afa0fefe0c045dc5c3da21e.png)

**DB2 Chart:**

 ![Screenshot 2025-07-29 at 3.49.12 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/7/17ebf1d4237d745b583896c43e0e575212bfb0a1.png)

**Epoch converted time (for one data point):**

 ![Screenshot 2025-07-29 at 3.36.43 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d13674f40bbcde63e6e481cafe514bd726f9992b.png)

**Sample flow and data:**

`````auto
 [{"id":"c43a8f4501d9ffa3","type":"inject","z":"0316cd25d00c5e0d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"x\":1753765200000,\"y\":88.81},{\"x\":1753766100000,\"y\":88.81},{\"x\":1753766537000,\"y\":87.54},{\"x\":1753767000000,\"y\":87.54},{\"x\":1753767900000,\"y\":87.54},{\"x\":1753768634000,\"y\":86.53},{\"x\":1753768800000,\"y\":86.53},{\"x\":1753769700000,\"y\":86.53},{\"x\":1753770600000,\"y\":86.53},{\"x\":1753771500000,\"y\":86.53},{\"x\":1753771929000,\"y\":85.5},{\"x\":1753772400000,\"y\":85.5},{\"x\":1753773300000,\"y\":85.5},{\"x\":1753774026000,\"y\":84.49},{\"x\":1753774200000,\"y\":84.49},{\"x\":1753775100000,\"y\":84.49},{\"x\":1753776000000,\"y\":84.49},{\"x\":1753776900000,\"y\":84.49},{\"x\":1753777800000,\"y\":84.49},{\"x\":1753778700000,\"y\":84.49},{\"x\":1753779119000,\"y\":83.47},{\"x\":1753779600000,\"y\":83.47},{\"x\":1753780500000,\"y\":83.47},{\"x\":1753781400000,\"y\":83.47},{\"x\":1753782115000,\"y\":82.46},{\"x\":1753782300000,\"y\":82.46},{\"x\":1753783200000,\"y\":82.46},{\"x\":1753784100000,\"y\":82.46},{\"x\":1753785000000,\"y\":82.46},{\"x\":1753785900000,\"y\":82.46},{\"x\":1753786800000,\"y\":82.46},{\"x\":1753787700000,\"y\":82.46},{\"x\":1753788600000,\"y\":82.46},{\"x\":1753788706000,\"y\":81.43},{\"x\":1753789500000,\"y\":81.43},{\"x\":1753790400000,\"y\":81.43},{\"x\":1753791300000,\"y\":81.43},{\"x\":1753792200000,\"y\":81.43},{\"x\":1753793100000,\"y\":81.43},{\"x\":1753794000000,\"y\":81.43},{\"x\":1753794900000,\"y\":81.43},{\"x\":1753795595000,\"y\":82.46},{\"x\":1753795800000,\"y\":82.46},{\"x\":1753796700000,\"y\":82.46},{\"x\":1753797093000,\"y\":83.47},{\"x\":1753797600000,\"y\":83.47},{\"x\":1753798500000,\"y\":83.47},{\"x\":1753799190000,\"y\":84.49},{\"x\":1753799400000,\"y\":84.49},{\"x\":1753799789000,\"y\":85.5},{\"x\":1753800300000,\"y\":85.5},{\"x\":1753801200000,\"y\":85.5},{\"x\":1753801287000,\"y\":87.03},{\"x\":1753801886000,\"y\":88.04},{\"x\":1753802100000,\"y\":88.04},{\"x\":1753802785000,\"y\":89.57},{\"x\":1753803000000,\"y\":89.57},{\"x\":1753803684000,\"y\":91.1},{\"x\":1753803900000,\"y\":91.1},{\"x\":1753803983000,\"y\":92.11},{\"x\":1753804800000,\"y\":92.11},{\"x\":1753804882000,\"y\":93.64},{\"x\":1753805481000,\"y\":94.66},{\"x\":1753805700000,\"y\":94.66},{\"x\":1753806080000,\"y\":96.18},{\"x\":1753806600000,\"y\":96.18},{\"x\":1753807279000,\"y\":97.2},{\"x\":1753807500000,\"y\":97.2},{\"x\":1753807878000,\"y\":98.21},{\"x\":1753808400000,\"y\":98.21},{\"x\":1753809076000,\"y\":99.23},{\"x\":1753809300000,\"y\":99.23},{\"x\":1753809675000,\"y\":100.24},{\"x\":1753810200000,\"y\":100.24},{\"x\":1753810873000,\"y\":101.27},{\"x\":1753811100000,\"y\":101.27},{\"x\":1753811472000,\"y\":102.28},{\"x\":1753812000000,\"y\":102.28},{\"x\":1753812671000,\"y\":103.3},{\"x\":1753812900000,\"y\":103.3},{\"x\":1753813270000,\"y\":104.31},{\"x\":1753813800000,\"y\":104.31},{\"x\":1753814700000,\"y\":104.31},{\"x\":1753815600000,\"y\":104.31},{\"x\":1753816500000,\"y\":104.31},{\"x\":1753817400000,\"y\":104.31},{\"x\":1753818300000,\"y\":104.31},{\"x\":1753819200000,\"y\":104.31}]","payloadType":"json","x":259.64703369140625,"y":1525.96875,"wires":[["c94ef20ce474e42f"]]}] ````

`````

---

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [29 July 2025 21:07 UTC](https://discourse.nodered.org/t/db2-chart-timescale-not-shown-correctly/98368/2 "2025-07-29T21:07:45Z")

</div>

Ugh - right after I posted this question, I thought to look at the X-Axis limit property. By changing it to 1 week, the data was displayed correctly. What I didn’t realize is that it appears to take the **lesser** of two limits (time or data points). I had the data points set to 1000 but the time was set to 1 hour

 ![Screenshot 2025-07-29 at 4.06.06 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/7/477ba761e42c82672a60ba0037b6e548e8d02bc9.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 August 2025 21:08 UTC](https://discourse.nodered.org/t/db2-chart-timescale-not-shown-correctly/98368/3 "2025-08-12T21:08:23Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
