Pre loader

Bar Chart with specific axes

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

I want to reach 2 specific points:
1. Bar Chart – chart with view like digital chart but with centering like column chart. I cant use any of these because with first I cant centering point mark and with second I cant disable or change visibility of columns border.
2. Custom labels for one or more axis. For example, I have uniquely defined and limited range of double values for axis and I want to represents this values on axis labels as spcific text by relation value->string.
You can see example in the attahcments.
Is this even possible? And if possible, how can I achieve this?

Version
6.2.0
Images
  • You must to post comments
0
0

Hi Sergey

Number 2 is certainly possible out of the box. The feature you need is the LabelProvider, which you can read about here. Also related questions in our forum are How to put Strings on XAxis which has a code sample.

Number 1, we have a Digital Line chart type, but it will not centre on the X-value. If you want to specifically centre the value you would have to create a Custom RenderableSeries, which you can read about here. This uses our renderContext API and allows you to draw anything on the chart.

Let me know if this helps!

Best regards,
Andrew

  • Sergey Vinogradov
    Hi Andrew! Thank you for your response! LabelProvider got me exactly what i want. It’s great! I saw docs about CustomRenderableSeries and not understand clearly how to achive my point and no one more simplier way to get that? I am using MVVM with Binding to DataSeries (now it is LineRenderableSeriesViewModel), and I see it worked something differrently than LineRenderableSeries or CustomRenderableSeries. And I have an additional question. I want to get 2 and more XAxis for each DataSeries. For example, I have a data series with (X1, X2, Y) points, X1 with X2 are linearly dependent and I want to see X1 axes at Top and X2 at Bottom or vise versa. Sorry for my English. English is not my native language.
  • 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