Hello,
Once again I'm having troubles with charts in Stimulsoft.
This time it is a very very basic sample, where I followed your video tutorial.
Version: latest release 2021
Datasoure: Business Object
I have only two simple elements with an ID (text), Planned start and Planned End date.(type datetime?)
These elements I want to display in a Gantt-Chart
see setup
This works fine in Desinger preview
But: as soon i render the report from code, it doesn't work anymore
Still we only want to display 2 elements, (RTH1+RTH2 with simple dates, same as in preview)
When running out of code the following issues happen
BARS are not displayed at all
X-Achse ist nor recognized as date
Also when I out "MM/dd/yyyy" to property "Format" on X-Achse it doesn't help
Also I tried to change the datatype of the property from DateTime? to DateTime - also without success...
What did I do wrong?
Why is the behaviour different? Any ideas?
Gantt chart not working / different behaviour between Preview and Viewer
-
- Posts: 6302
- Joined: Tue Mar 20, 2018 5:34 am
Re: Gantt chart not working / different behaviour between Preview and Viewer
Hello,
Please send us a sample that reproduces the issue for analysis.
Thank you.
Please send us a sample that reproduces the issue for analysis.
Thank you.
Re: Gantt chart not working / different behaviour between Preview and Viewer
Hello,
Please find the sample attached
NOTE: The issue must be somewhere in the statement SavePackedDocumentToByteArray or LoadPackedDocument
If I render my report it works. But if I do a SavePackedDocumentToByteArray and then a LoadPackedDocument it won't work. In this case it won't recognize dates correctly in the chart
Please find the sample attached
NOTE: The issue must be somewhere in the statement SavePackedDocumentToByteArray or LoadPackedDocument
If I render my report it works. But if I do a SavePackedDocumentToByteArray and then a LoadPackedDocument it won't work. In this case it won't recognize dates correctly in the chart
- Attachments
-
- StimulsoftSampleProjectWpf.zip
- (45.64 KiB) Downloaded 229 times
-
- Posts: 6302
- Joined: Tue Mar 20, 2018 5:34 am
Re: Gantt chart not working / different behaviour between Preview and Viewer
Hello,
Thank you for the sample, we have reproduced the issue.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#3603
Thank you for the sample, we have reproduced the issue.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#3603
Re: Gantt chart not working / different behaviour between Preview and Viewer
Hi!
Can you already tell when a fix will be ready?
Thanks
Can you already tell when a fix will be ready?
Thanks
-
- Posts: 6302
- Joined: Tue Mar 20, 2018 5:34 am
Re: Gantt chart not working / different behaviour between Preview and Viewer
Hello,
We are working on the problem. We will let you know when the solution is available.
Thank you.
We are working on the problem. We will let you know when the solution is available.
Thank you.
-
- Posts: 6302
- Joined: Tue Mar 20, 2018 5:34 am
Re: Gantt chart not working / different behaviour between Preview and Viewer
Hello,
The issue is fixed. The fix will be available in the next build in the next week.
Thank you.
The issue is fixed. The fix will be available in the next build in the next week.
Thank you.