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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Hello,

Sorry if I don’t have a proper title for this one. My requirement is the following: I’m charting a measurements done in the x direction over a very big range. In this range there are several equipments that are important to know the type of when you analyse the measurement. I’d like to visualize these types along with the measurements. For example:

Equipment 1:
Type A from x=0 to x=1000
Type B from x=1000 to 2000
Type C from x=2000 to 4000

Equipment 2:
Type X from x=0 to x=500
Type Y from x=500 to 1800
Type Z from x=1800 to 4000

Measurement:
(random) from x=0 to 4000

I think I need some kind of stacked horizontal bar but I’d like your input before continuing. How would I best do this?

  • You must to post comments
0
0

Hi Mathias,

is it just those areas you wish to draw on the chart? If so you could use our Annotations API.

Please see https://www.scichart.com/annotations-are-easy

enter image description here

This is the simplest way to display a small number of elements (<1000) over the chart.

If you need to display more elements, you may want to consider using our RenderContext API. Please see https://www.scichart.com/questions/question/datetimeaxis-bands-for-special-days-i-e-saturday-sunday-bankholidays for an example.

Best regards,
Andrew

  • You must to post comments
0
0

Well first of all I was thinking of using a SciChartGroup and have a chartpane for every type of measurement I need to display. Next to these measurements I want to include a pane specifically for this type of reference information.

It seemed a bit strange to have a chart only with annotations. I was looking more like some type of RectangleBarSeries. A type of bar chart that where you specify min and max x,y for every bar. But I suppose that the best option in this case are the annotations. I’m not sure if I will not have more then 100 elements (there are quite a lot interesting equipment attributes that could be visualized)

  • Andrew
    Hi Mathias, why don't you post a screenshot of what you want, and we can best advise?
  • You must to post comments
0
0

Here is a screenshot of a screenshot of what i would like to achieve đŸ˜‰

It’s actually not only they composition of something but also things like “last maintenance date”

We speak of ‘segmentation’

Images
  • Mathias Vanden Auweele
    Andrew, thank you very much for your fast help. I've already discovered that the scichartgroup might not be the best option. But not because of the reasons you describe. The screenshot is maybe with another wpf charting lib then scichart and is going to be converted to scichart. I'm looking at the best way to do this and I thought the scichartgroup might offer additional features that are interesting (like the pane resizing, collapsing, tabbing, ..). However, it seems that the scichartgroup needs a principal chart and in my app, all charts are created equal. for the moment, the application is made with a simple wpf grid. I will probably implement scichart the same way.But the question in this topic is about the topmost chart in the screenshot, this I quickly made with paint. Is there a way to create this with a scichartsurface?
  • Andrew
    Hi Mathias, You can try horizontal stacked bar chart https://www.scichart.com/wp-content/uploads/2014/04/stackedbarcharts2.png In the WPF Examples Suite go to Multi Series Charts and have a look at the stacked bar charts examples. Alternatively, you could create it with a Custom Renderable Series (you can draw basically anything in SciChart), or annotations, but the most 'out of the box' way would be stacked bar chart. Hope this helps!
  • Mathias Vanden Auweele
    Will the stacked bar chart be able to deal with recurrent values in that it will set the same color for the bar or do I need to tell it to do this?
  • Andrew
    Ahh no, it's designed to stack several series. Like I said, visually, it's the closest thing we have out of the box, but other than that your options are Custom Renderable Series http://support.scichart.com/index.php?/Knowledgebase/Article/View/17253/41/customrenderableseries-api-overview or annotations. Actually, you might be able to create the same effect using FastMountainRenderableSeries and the PaletteProvider API http://support.scichart.com/index.php?/Knowledgebase/Article/View/17187/28/change-series-colour-dynamically-paletteprovider Hope this has given you some food for thought!
  • Mathias Vanden Auweele
    Thank you!
Showing 3 results
Your Answer

Please first to submit.