and how to do this now (preferably in vb.net?).
I get errors:
Severity Code Description Project File Line Suppression State
Error CS0266 Cannot implicitly convert type 'System.Windows.Forms.Orientation' to 'Syncfusion.Windows.Forms.Chart.ChartOrientation'. An explicit conversion exists (are you missing a cast?) ChartStatLines C:\Users\u\Downloads\ChartStatLines_6068\ChartStatLines\Form1.cs 76 Active
Error Unable to resolve type 'Syncfusion.Core.Licensing.LicensedComponent, Syncfusion.Core' ChartStatLines C:\Users\u\Downloads\ChartStatLines_6068\ChartStatLines\licenses.licx 1
And, how to do this without double values on the X-axis. I have string values, and the same string is present multiple times... The horizontal line must go from the primary Y-axis over the complete chart width.
Regards,
Udo
Hi Korsmit,
After reviewing your query, we realized we need a bit more information to better assist you. Please provide the following details:
Additionally, if possible, could you please provide a code snippet related to your query, it would be greatly helpful. With this information, we can create a new ticket and follow your query more effectively.
Thank you for your understanding and cooperation.
Best regards,
Arul Jenith B.
Hi Jenith,
The platform is winforms :vb.net.
The version is: 28.1.33
No special or other settings.
The code snippet is the snippet used above: ChartStatLines_6068.zip
This is unfortunatly not in the correct language.
for the errors, I just deleted the form building line about the orientation.. This parameter does not seem to exists (anymore).
For the license error, I removed the file with the license key (.licx) from the application. Then it worked.. The greatest question remain (the one that I was trying to solve reading this snippet...). So therefore, the snippet is not so relevant anymore but the only question that remains:
And, how to do this without double values on the X-axis. I have string values, and the same string is present multiple times... The horizontal line must go from the primary Y-axis over the complete chart width.
the X-axis are string labels: 4,5,6,......52,1,2,3,4. These are weeknumbers, But no real numbers ofcourse!!!.. As you see, these values can not be sorted while they must stay in the order of the underlaying table. There is 2 times (Week) 4. (next week, it will be week 5).
So I can not work with min and max value but must be on coordinates or something.
The sorting is off, while the graph is build in the order
EDIT: Maybe I should ask this in another forum post:
While the width of the chartstripline is not easy to control (I can not give ith a width of 0,01) I get big lines if I display something in smaller values. Therefore I want to go back in displaying the data in a line graph (and solving the above by getting all X-vaules from the similar datatable as the displayed columns). I can easiliy draw a nice controlled target line. However, on the drawn target line, I want to put on the line some text. That is easy with a chartstripline but not easy with a normal line.. How to do this? ChatGPT suggest annotations, but I can not find any annotation properties in syncfusion.
Hi Korsmit,
Thank you for reaching out to us. To ensure a more efficient follow-up on your request, we have created a separate support thread for you. You can easily track the progress and stay updated by using the following link:
Ticket link - Winform strip line requirements - Branched from F 34133 | WinForms Forums | Syncfusion®
Thank you for your understanding and cooperation.
Best regards,
Arul Jenith B.