Pre loader

Displaying categories defined as x-range above line chart

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

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 Burnett-Thompson
    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

I am considering applying server-side licensing for my javerScript application.

In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support-dev.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)

However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)

I wonder if there is a sample code implemented in C++ for server-side licensing.

Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?

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 Burnett-Thompson
    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 Burnett-Thompson
    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.

Try SciChart Today

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

Start TrialCase Studies