This is a migrated thread and some comments may be shown as answers.

Segmented bar chart

3 Answers 139 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Sebastián Soto
Top achievements
Rank 1
Sebastián Soto asked on 07 Dec 2017, 08:59 PM
Its possible to create bars like in the attach? Could be with the same color.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 Dec 2017, 03:47 PM
Hello Sebastián Soto,

RangeBar series feature is currently not achievable through the Xamarin.Forms implementation of the RadChart control. We have it logged in our Feedback Portal, you can vote for it and subscribe to status changes at the following link:
Add RangeBarSeries to Chart.

In the meantime, you could achieve it for Android and iOS after customizing the native controls - through custom renderers. Here are the articles that describe how to achieve the behavior on the different platforms:
 
So basically, you can create custom renderers to access the native controls and configure the setup through them.

Give it a try and if you have any additional questions or concerns, let me know.

Regards,
Yana
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
Sebastián Soto
Top achievements
Rank 1
answered on 12 Dec 2017, 04:16 PM

Hi Yana,

Thank you for the feedback, i'm trying to run a test calling it from a Xamarin Forms project because this is how the project was built. i'm using an interface for Android to implement it but i'm getting this error:

Cannot implicitly convert type 'Com.Telerik.Widget.Chart.Visualization.CartesianChart.RadCartesianChartView' to 'Xamarin.Forms.View'

Do you know what i missing?

 

0
Yana
Telerik team
answered on 15 Dec 2017, 01:13 PM
Hi Sebastián,

I have attached an example in Android to demonstrate how you could create a RangeBarSeries,  you could check the code inside CustomChartRenderer class. 

Please download the attachment and give it a try. If you have any additional questions on the implementation, please let me know.

Regards,
Yana
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
Sebastián Soto
Top achievements
Rank 1
Answers by
Yana
Telerik team
Sebastián Soto
Top achievements
Rank 1
Share this question
or