Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aviable Method for output of number of points in a ChartSeries #1

Open
JuRi-2020 opened this issue Aug 21, 2020 · 2 comments
Open

Aviable Method for output of number of points in a ChartSeries #1

JuRi-2020 opened this issue Aug 21, 2020 · 2 comments

Comments

@JuRi-2020
Copy link

Hello,

I am testing your plugin and have a question. I'm downloaded the package C1.Xamarin.Forms.Chart.
Is there any method to output the number of points which are saved in a ChartSeries?

I'm looking forward for an answer.

Kind Regards
JuRi-2020

@sassy224
Copy link

sassy224 commented Aug 21, 2020

Hi,

You can get the number of points in ChartSeries using event SymbolLoading, each time the event is called, a point is being created for a series.

Sample code

flexChart.ItemsSource = ChartSampleFactory.CreateEntityList();
flexChart.Series[0].SymbolLoading += GettingStartedSample_SymbolLoading;

Hope it helps. Can you tell why would you want to get the number of points in a ChartSeries?

@JuRi-2020
Copy link
Author

Hello and thanks for the fast answer.

I like to add points and if there are more than a spezific number, than I would like to remove the first one.

Kind Regards
JuRi-2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants