Hi there,
I am trying to generate a stacked columns chart to display the drivers’ stints during a moorsport race. The problem that I am unable to solve is related to the width of the columns of the graph. Although I am setting datapointwidth = 1.0, so that the column takes all the space, this only happen if I display one driver/column (see images). When adding new driver/columns, the columnwidth of every column shrinks and does not take up all the space (see images). It looks like the datapointwidh follows the next relationship :
Datapointwidth = 1 / Number of Columns
Is there anyway I can force the stackedcolumnrenderableseries to always have a datapointwidth of 1.0?
- Miguel Cano asked 4 years ago
- You must login to post comments
Hi Miguel,
I am sorry for the late reply.
Could you please send us a simplified project reproducing the issue? This one you’ve sent is too complex for investigation. You can extend our “Column Chart” example:
https://www.scichart.com/example/wpf-chart-example-column-chart/
Thanks in advance,
Oleksandr
- Oleksandr Shvets answered 4 years ago
-
Hi Oleksandr, Thanks for getting back. Find a very simplified example of my project in the following link: https://we.tl/t-VAltb7OsJd Note that I require to have a serie for each stint of each car. The reason behind it is that the color for each stint/dataserie should be independent of the stint number. Let me know if you can find a solution or if you have any other suggestion. Thanks in advance. Regards, Miguel
- You must login to post comments
Hi Miguel,
Thanks for your inquiry.
Setting Datapointwidth property works for Stacked Columns Chart in our examples. Please take a look:
https://www.scichart.com/example/wpf-chart-example-stacked-column-chart/
Could you please provide us with a small sample project reproducing this issue for investigation?
Thanks in advance.
- Oleksandr Shvets answered 4 years ago
-
Hi Oleksandr, Thanks for your reply. I am sorry that I could not get back to you sooner. Find in the link a folder with the project. The folder also includes the xml test file that I am currently using. If you find what’s the issue I am experiencing, please let me know. Thanks in advance. Link : https://drive.google.com/drive/folders/16xobM6IuAiE2hpL1J3eLf_gQrObE3A33?usp=sharing
- You must login to post comments
Please login first to submit.