Unable to Display Values in Scatter Chart in Stimulsoft
Posted: Mon Dec 23, 2024 2:32 am
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!
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!