How can I implement custom chart colors?
-
Lech Kulikowski
- Posts: 7745
- Joined: Tue Mar 20, 2018 5:34 am
Re: How can I implement custom chart colors?
Hello,
Please prepare sample query, and sample project with your code so that we can run and reproduce the issue.
Also, you can download our sample, add your code, and data, and send us for analysis.
https://github.com/stimulsoft?utf8=%E2% ... &language=
Thank you.
Please prepare sample query, and sample project with your code so that we can run and reproduce the issue.
Also, you can download our sample, add your code, and data, and send us for analysis.
https://github.com/stimulsoft?utf8=%E2% ... &language=
Thank you.
-
lucasrinaldi
- Posts: 45
- Joined: Wed Jul 12, 2023 8:18 pm
Re: How can I implement custom chart colors?
Lech, I will build a sample API based on ours to send to you. I believe this is the only solution. This way, we can see the data transfer to the report, and you can debug from there. As this is a task that will take time, I will try to do it in the coming weeks because, at the moment, we are remarkably busy. Please do not close this ticket if I don't respond for more than a week because eventually, I will send you an API along with the report. Thank you in advance.
-
Lech Kulikowski
- Posts: 7745
- Joined: Tue Mar 20, 2018 5:34 am
Re: How can I implement custom chart colors?
Hello,
Ok. We will wait.
Ok. We will wait.
-
lucasrinaldi
- Posts: 45
- Joined: Wed Jul 12, 2023 8:18 pm
Re: How can I implement custom chart colors?
Lech, good afternoon.
Lech, discussing with our team, this problem will take too much time and we will prioritize eventually in the future.
As I've said before, the initial problem was that the chart color wasn't being rendered, but, after you said that we should update, another bug appeared, and, to achieve the color with the latest update, we needed to fix the null values problem.
As I've shown before, all the null values are being converted to empty quotes, and to make a sample for you as you requested, I would need to make a mockup client, a mockup server, and the report to you, which would cost precious time for us right now.
Testing with our current Stimulsoft version, we noticed that if we use the Cross data band with the dynamic color chart, if the Cross data breaks a line, the dynamic color stops working.
There's so much stuff to do before applying any solutions... After trying to input some values hardcoded, we noticed too that the new version don't cover the cross data and dynamic color chart bug. The color doesn't go dynamic.
For this, I suggest closing this thread and we open another eventually. But in the meantime, I suggest your team verify this null/empty quotes problem and the cross data with dynamic colors.
Lech, discussing with our team, this problem will take too much time and we will prioritize eventually in the future.
As I've said before, the initial problem was that the chart color wasn't being rendered, but, after you said that we should update, another bug appeared, and, to achieve the color with the latest update, we needed to fix the null values problem.
As I've shown before, all the null values are being converted to empty quotes, and to make a sample for you as you requested, I would need to make a mockup client, a mockup server, and the report to you, which would cost precious time for us right now.
Testing with our current Stimulsoft version, we noticed that if we use the Cross data band with the dynamic color chart, if the Cross data breaks a line, the dynamic color stops working.
There's so much stuff to do before applying any solutions... After trying to input some values hardcoded, we noticed too that the new version don't cover the cross data and dynamic color chart bug. The color doesn't go dynamic.
For this, I suggest closing this thread and we open another eventually. But in the meantime, I suggest your team verify this null/empty quotes problem and the cross data with dynamic colors.
-
Lech Kulikowski
- Posts: 7745
- Joined: Tue Mar 20, 2018 5:34 am
Re: How can I implement custom chart colors?
Hello,
On our samples and test data we couldn't reproduce these issues.
Thank you.
On our samples and test data we couldn't reproduce these issues.
Thank you.
-
Haizal_Casper
- Posts: 6
- Joined: Sat Mar 21, 2026 9:22 am
Re: How can I implement custom chart colors?
It looks like the issue might be related to how the data source is being refreshed or how the variables are being passed to the report engine.
One thing you could try is checking if the "Cache All Data" property is set to true - sometimes that prevents the report from picking up the latest changes during a preview. Also, it might be worth double-checking that the connection string isn't being overwritten at runtime by a hardcoded value in your code.
If you're using a web-based viewer, clearing the browser cache or testing in an incognito window is also a good way to rule out a simple caching glitch!
One thing you could try is checking if the "Cache All Data" property is set to true - sometimes that prevents the report from picking up the latest changes during a preview. Also, it might be worth double-checking that the connection string isn't being overwritten at runtime by a hardcoded value in your code.
If you're using a web-based viewer, clearing the browser cache or testing in an incognito window is also a good way to rule out a simple caching glitch!
-
Lech Kulikowski
- Posts: 7745
- Joined: Tue Mar 20, 2018 5:34 am
Re: How can I implement custom chart colors?
Hello,
Thank you for sharing your experience with other users.
Thank you for sharing your experience with other users.