Unable to Display Values in Scatter Chart in Stimulsoft

Stimulsoft Dashboards.JS discussion
Post Reply
unavailable
Posts: 2
Joined: Mon Dec 23, 2024 2:24 am

Unable to Display Values in Scatter Chart in Stimulsoft

Post by unavailable »

Hello,

I'm experiencing an issue where I cannot get a Scatter chart in Stimulsoft to display any data points. The same data works perfectly in a Clustered Column chart, but when I switch to a Scatter chart, the values do not appear.

I am sending the data to the report via a JSON in JavaScript. Here are the formats I have tried for the data:

As DateTime:
[
{ "eje_x": "2023-01-10T00:00:00.000Z", "eje_y": 18589 },
{ "eje_x": "2023-01-10T00:00:00.000Z", "eje_y": 7 }
]
As a string in yyyy-MM-dd hh:mm:ss format:
[
{ "eje_x": "2023-01-10 00:00:00", "eje_y": 18589 },
{ "eje_x": "2023-01-10 00:00:00", "eje_y": 7 }
]
As a string in yyyy-MM:

[
{ "eje_x": "2023-01", "eje_y": 18589 },
{ "eje_x": "2023-01", "eje_y": 7 }
]

Despite trying these formats, the Scatter chart does not display any values. However, when using a Clustered Column chart, the data is visualized without any issues.

Could you please advise what format should be used for the eje_x values in a Scatter chart to ensure the data points are displayed correctly when sending the data as a JSON from JavaScript?

Thank you!
Lech Kulikowski
Posts: 6977
Joined: Tue Mar 20, 2018 5:34 am

Re: Unable to Display Values in Scatter Chart in Stimulsoft

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
unavailable
Posts: 2
Joined: Mon Dec 23, 2024 2:24 am

Re: Unable to Display Values in Scatter Chart in Stimulsoft

Post by unavailable »

Sure. I've attached sample report.

Ive tried to send the JSON data in

Date Format (Example: 2023-03-02T00:00:00.000Z)
yyyy-mm-dd hh:mm:ss am/pm (string)
yyyy-mm-dd hh:mm:ss (string)
yyyy-mm-dd (string)

None of them seems to work

Thank you!
Attachments
test.mrt
(1.17 MiB) Downloaded 39 times
Lech Kulikowski
Posts: 6977
Joined: Tue Mar 20, 2018 5:34 am

Re: Unable to Display Values in Scatter Chart in Stimulsoft

Post by Lech Kulikowski »

Hello,

Please send us test data for your report.

Thank you.
Post Reply