kirsan31 / winforms-datavisualization

System.Windows.Forms.DataVisualization provides charting for WinForms applications.
MIT License
45 stars 19 forks source link

multi-series StackedBar/StackedColum charts not rendering correctly. #48

Closed mtagliaf closed 9 months ago

mtagliaf commented 9 months ago

Only one series renders, up against the bottom/left corner of the image. A reproducible example with code can be found in this StackOverflow question:

https://stackoverflow.com/questions/72078617/how-to-use-2-data-series-in-a-bar-graphic-stacked-bars-with-a-chart-component

kirsan31 commented 9 months ago

I can't understand anything from your explanation, and I also don't see a working (compiled) example from your link. The only thing I can indirectly suggest is to try setting IsXValueIndexed = true for your series that have no real X values.

mtagliaf commented 9 months ago

that fixed my issue, thank you.