Pre loader

Refresh values of PieSegment donut

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

Hi
Is there a way to just change the values of the pie segments so it get updated on the donut chart.
If I remove and add the pie segments again it works, is this the correct way?

Also I can’t find any documentation around the donut for android/xamarin

regards
Per

Version
2.1.0.639
  • You must to post comments
0
0

Hi
Can’t get it to update by just changing the Value property on the PieSegment.

Regards
Per

  • Yura Khariton
    Well as I know it should work – we use Value property in our demo application for Xamarin. So can you send a project which reproduces this issue to us and we’ll take a look on it.
  • You must to post comments
0
0

Hi
Which demo code is that? have downloaded the example code “SciChart_Xamarin_v2.1.0.639_SDK” but can’t see that there is any update of the values in that example

Regards
Per

0
0

Hi
Well I have no problem adding the PieSegments with values at start. But if I try to update the values in the pieSegements that I already created the chart isn’t updated even though I Invalidated the chart.

Is there something I’m doing wrong? Not really an expert on android only on C# and WPF

Regards
Per

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

  • You must to post comments
0
0

Hi Robin,

Thanks for your inquiry.

Yes, it looks like that we didn’t update documentation after v2.1 release in which we’ve added donut and pie charts. I’ve created a task in our bug tracker for this issue.

Regarding updating PieSegment’s value – you can do this this with next code:

    pieSegment.setValue(newValue);

Is this suitable for your needs?

Best regards,
Yura

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

  • Yura Khariton
    Hi Per. Well it should be there. Are you sure that you use PieSegment class provided by SciChart ( com.scichart.charting.visuals.renderableSeries.PieSegment )?
  • You must to post comments
0
0

Hi
Maybe I wasn’t clear enough.

I’m doing this in C# and Xamarin.
Using the nuget package SciChart.Android with version 2.1.0.748 on the android project

Looking in the object browser on PieSegment class I can’t find any setValue

Regards
Per

Images
  • Yura Khariton
    Have you tried to set Value property? Xamarin binding generator wraps setValue() and getValue() and creates C# property from these two methods with appropriate getter and setter.
  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.