SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Hi,

I’m trying to add two column series with a different number of data points with the same width per column. There is a suggested solution here:

https://www.scichart.com/questions/wpf/constant-sized-column-bars

but I’m doing it from ViewModel.

So, if I understand it right, I can override GetColumnWidth() in FastColumnRenderableSeries in the new class ConstantColumnRenderableSeries, but how can I add ConstantColumnRenderableSeriesViewModel (overriding ColumnRenderableSeriesViewModel), so that once I add an instance of this newly created class ConstantColumnRenderableSeriesViewModel into RenderableSeries it will add ConstantColumnRenderableSeries to chart and render it?

Thanks in advance!

Version
5.4
  • You must to post comments
0
0

Hi Alexander,

That forum question is 5 years old, since then we’ve added a property called UseUniformWidth.

Find out more here:
https://www.scichart.com/documentation/v5.x/SciChart.Charting~SciChart.Charting.Model.ChartSeries.ColumnRenderableSeriesViewModel_members.html

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+