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
0
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
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:
- Android: RangeBarSeries
- iOS: RangeBarSeries
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
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
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