How can I implement custom chart colors?

Stimulsoft Reports.WEB discussion
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: How can I implement custom chart colors?

Post by Lech Kulikowski »

Hello,

That's how the auto series works:
https://www.stimulsoft.com/en/documenta ... series.htm

You can set the labels-show nulls=false property.

Thank you.
lucasrinaldi
Posts: 44
Joined: Wed Jul 12, 2023 8:18 pm

Re: How can I implement custom chart colors?

Post by lucasrinaldi »

Thanks Lech Kulikowski!
It worked like a charm.

Cheers from Brazil and thank you for your support. You were awesome.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: How can I implement custom chart colors?

Post by Lech Kulikowski »

Hello,

You are welcome.
lucasrinaldi
Posts: 44
Joined: Wed Jul 12, 2023 8:18 pm

Re: How can I implement custom chart colors?

Post by lucasrinaldi »

Hello again Lech, sorry to bother

Lech, my solution actually doesn't worked...
Our QA did further test and looks like the color is not being rendered.

Some screenshots are attached below.
Attachments
Screenshot 2024-01-09 111438.png
Screenshot 2024-01-09 111438.png (16.54 KiB) Viewed 11970 times
Screenshot 2024-01-09 111526.png
Screenshot 2024-01-09 111526.png (26.95 KiB) Viewed 11970 times
Screenshot 2024-01-09 111528.png
Screenshot 2024-01-09 111528.png (23.23 KiB) Viewed 11970 times
Screenshot 2024-01-09 111539.png
Screenshot 2024-01-09 111539.png (100.02 KiB) Viewed 11970 times
lucasrinaldi
Posts: 44
Joined: Wed Jul 12, 2023 8:18 pm

Re: How can I implement custom chart colors?

Post by lucasrinaldi »

Below are our report and the json result.
Attachments
Results.json
(428 Bytes) Downloaded 308 times
adherenceItems.mrt
(69.46 KiB) Downloaded 285 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: How can I implement custom chart colors?

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue. How do you run the report?

Thank you.
Attachments
adherenceItems_modified.mrt
(14.57 KiB) Downloaded 301 times
Screenshot 2024-01-09 152937.png
Screenshot 2024-01-09 152937.png (103.66 KiB) Viewed 11954 times
lucasrinaldi
Posts: 44
Joined: Wed Jul 12, 2023 8:18 pm

Re: How can I implement custom chart colors?

Post by lucasrinaldi »

We run through our api, which uses the Stimulsoft.Reports.Web.NetCore (2023.3.1)
I tried now to update but i got a trial message and nothing shows up.
Do you know how to guide me?
Attachments
Screenshot 2024-01-09 131645.png
Screenshot 2024-01-09 131645.png (29.22 KiB) Viewed 11803 times
lucasrinaldi
Posts: 44
Joined: Wed Jul 12, 2023 8:18 pm

Re: How can I implement custom chart colors?

Post by lucasrinaldi »

Lech, I noticed on profiler that after updating, some of my null values are being replaced by empty strings, like this the image below.
There is a configuration which are doing it? I never saw this before
Attachments
Screenshot 2024-01-09 144439.png
Screenshot 2024-01-09 144439.png (51.77 KiB) Viewed 11643 times
Screenshot 2024-01-09 152859.png
Screenshot 2024-01-09 152859.png (9.84 KiB) Viewed 11643 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: How can I implement custom chart colors?

Post by Lech Kulikowski »

Hello,

> We run through our api, which uses the Stimulsoft.Reports.Web.NetCore (2023.3.1)

The issue with colors was fixed in the previous build. You should use last release 2024.1.2 build to get correct colors in the chart.

Thank you.
lucasrinaldi
Posts: 44
Joined: Wed Jul 12, 2023 8:18 pm

Re: How can I implement custom chart colors?

Post by lucasrinaldi »

I noticed that was fixed but I got another problem:

The report doesn't open correctly because are swapping nulls for empty spaces, as shown before in the picture.
Screenshot 2024-01-09 152859.png
Screenshot 2024-01-09 152859.png (9.84 KiB) Viewed 9054 times
How can I stop that from occurring? I am sure that null is being sent to the report, but then, mysteriously it becomes a empty space.
Post Reply