Pre loader

Heatmap with date on xAxis

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 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?

Version
2.2.0.2348
  • You must to post comments
0
0

Hi Miha,

Thanks for your question.

I’m not sure that I 100% understood your requirements but I think you can do this in several ways:
– Move heatmap when you need to scroll xAxis by changing it’s StartX value:

dataSeries.setStartX(newStartOnXAxis);
  • Create two xAxes ( like in this example ): first one (which is used to draw heatmap) should be invisible ( so there will be no ticks, labels etc for this axis ) and use second xAxis to draw axis labels. Then set VisibleRange for this second axis when it’s required.

Is this suitable for your needs?

Hope this will help you!

Best regards,
Yura

  • MIha Rozina
    Moving the dataSeries is not an option since all the data need to be shown. Having two axes sounds interesting, but I don’t think I fully understand. How would the visible axis be controlled? I will update my question with an example of my case and it will hopefully make it clearer what I am trying to achieve.
  • MIha Rozina
    Have you read the updated question?
  • Yura Khariton
    Yes, I’ve read updated question. Visible xAxis would be controlled by updating its VisibleRange value. When you “append” new values into heatmap you change VisibleRange in a such way that left and right edges of heatmap will be aligned with desired ticks on visible xAxis. Regarding approach with StartX – yes, it won’t work in your case. However I think you can use StepX property to stretch heatmap in a such way that it will be drawn in (startX, startX + heatmap_width * stepX) range. So when you “append” new values you adjust StepX to draw heatmap till desired label on xAxis
  • 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