SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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?
Thanks for your inquiry.
Setting Datapointwidth property works for Stacked Columns Chart in our examples. Please take a look:
Could you please provide us with a small sample project reproducing this issue for investigation?
Thanks in advance.
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:
Thanks in advance,
Please login first to submit.