This is a migrated thread and some comments may be shown as answers.
Barseries in RadCartesianchart xamarin forms
3 Answers 28 Views
This is a migrated thread and some comments may be shown as answers.
Manu
Top achievements
Rank 1
Manu asked on 22 May 2018, 09:32 AM
How can I add different barseries on a same Cartesian axis I am using the below code with data of keyvaluepair but the series was overlapping .I want the series one after another in the same axis.can you please help me.

3 Answers, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 22 May 2018, 05:38 PM
Hello Manu,

Take a look at the Combine Mode documentation. You'll see three combine options for BarSeries when sharing the same axis.

Cluster

Cluster CombineMode

Stack

Stack CombineMode

Stack100

Stack CombineMode



Note that they key observation is that the bar will get rendered on it's Categorical value and series will get combines when a data point has the same category value. If a DataPoint has a different categorical value than all the other data points, it will be on it's own category.

Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Manu
Top achievements
Rank 1
answered on 23 May 2018, 11:07 AM

I am using the following code for pieseries iteration I need to add a label on the top of each chart the label is different every time I am taking that into the list but all labels are adding on the top of one chart only how can I achieve only one label to one chart and second label to the second chart I am using key value paie .please let me how can I achieve it.

Thanks.

0
Lance | Manager Technical Support
Telerik team
answered on 23 May 2018, 02:32 PM
Hello Manu,

Thank you for the screenshots, however we are not able to run, or apply changes to, the code because it is an image.  In the future, please share the code in a code block, along with other supporting code elements (like sample data source), so that we can run and test it.

Here's where you can find the code block formatter:








By having the code in a code block, or in a runnable demo,, we will be able to better assist you.


Pie Series Labels

Regarding your question, to define the property you want to use for the label, see the Chart Features list. For your convenience, here is the text:

Labels customization

  • ShowLabels (bool): Defines whether the series will display labels for each plotted data point.
  • LabelBinding (PropertyNameDataPointBinding): Allows the user to bind the series labels to a property of the data point item.
  • LabelFormat (string): Sets label format string, e.g. "{0} items".
  • LabelFormatter (ILabelFormatter): Allows custom series label formatting.
Examples

To see different examples of the Chart, take a look at the Telerik demos, found in the installation directory of UI for Xamarin. Go to the Developer Focused Examples to see where to find the projects.

Here's a screenshot of where to find the examples in the SDKBrowser project




Licensed User Violation

Before I close this reply, I wanted to quickly touch on the topic of the product license. I see that you have never downloaded, started a trial or purchased, UI for Xamarin. Where did you get the product that you're using now? 

A very common case is that your company purchased the license and you are the developer. If this is the case, you will need to be assigned as the Licensed User in order to continue using or getting support for, UI for Xamarin.

To fix this, have someone in the company assign you as the Licensed User by doing the following:

1 - Go to the Managed Licensed Users portal
2 - Unassign themselves from the license (they will remain the owner of the license and can change Licensed User at any time)
3 - Assign you as the Licensed User using your email address

Once this is done, you'll be in compliance with the Telerik Terms of Use as well as be able to submit Support Tickets

Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Manu
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Manu
Top achievements
Rank 1
Share this question
or