Pre loader

Constant sized Column bars in MVVM



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:

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!

  • You must to post comments

Hi Alexander,

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

Find out more here:

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies