This question is locked. New answers and comments are not allowed.
Hello,
I would like to hide a LinearAxis in my RadCartesianChartView. But when I put the property Visible to false, indeed, my LinearAxis is not visible but his allocated space is not empty. So the result is not exactly an hidden axis because the axis/label space is not freed.
My project is to instanciate ten LineSeries and just show dynamically the LinearAxis of a selected one... So with 10 LineSeries, the chartArea is reduce to maybe 50% screen size.... because each LinearAxis are put next to each others.
A part of my code:
LineSeries lineSeries = new LineSeries();
LinearAxis verticalAxis = new LinearAxis();
verticalAxis.setHorizontalLocation(AxisHorizontalLocation.LEFT);
verticalAxis.setVisible(false);
lineSeries.setVerticalAxis(verticalAxis);
chartView.getSeries().add(lineSeries);
Maybe I do something wrong?! I saw something like axis "collapse" in Silverlight or WPF component, is it possible to use it on android ?
Thanks!!
I would like to hide a LinearAxis in my RadCartesianChartView. But when I put the property Visible to false, indeed, my LinearAxis is not visible but his allocated space is not empty. So the result is not exactly an hidden axis because the axis/label space is not freed.
My project is to instanciate ten LineSeries and just show dynamically the LinearAxis of a selected one... So with 10 LineSeries, the chartArea is reduce to maybe 50% screen size.... because each LinearAxis are put next to each others.
A part of my code:
LineSeries lineSeries = new LineSeries();
LinearAxis verticalAxis = new LinearAxis();
verticalAxis.setHorizontalLocation(AxisHorizontalLocation.LEFT);
verticalAxis.setVisible(false);
lineSeries.setVerticalAxis(verticalAxis);
chartView.getSeries().add(lineSeries);
Maybe I do something wrong?! I saw something like axis "collapse" in Silverlight or WPF component, is it possible to use it on android ?
Thanks!!
7 Answers, 1 is accepted
0
Hello Nico,
Thank you for writing.
I am afraid that this functionality is not implemented in our Chart for android because the chart elements do not inherit from View because this turned out to be a significant performance improvement. We will definitely add the ability to collapse an axis in a future release however.
Please write again if you have more questions.
Currently, you can simply add and remove series dynamically instead of collapsing their axes. Is it absolutely necessary for all series to be plotted at the same time?
Regards,
Victor
Telerik
Thank you for writing.
I am afraid that this functionality is not implemented in our Chart for android because the chart elements do not inherit from View because this turned out to be a significant performance improvement. We will definitely add the ability to collapse an axis in a future release however.
Please write again if you have more questions.
Currently, you can simply add and remove series dynamically instead of collapsing their axes. Is it absolutely necessary for all series to be plotted at the same time?
Regards,
Victor
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
FABIEN
Top achievements
Rank 1
answered on 06 Nov 2014, 09:07 AM
Thanks for your answer Victor,
Finally, it's what I done, add and remove dynamically series in the chart component. It works but I need to keep two collections, it's a real shame...
Best Regards,
Finally, it's what I done, add and remove dynamically series in the chart component. It works but I need to keep two collections, it's a real shame...
Best Regards,
0
Hello Nico,
Thanks for the feedback again. We'll add this functionality for the Q1 2015 release.
Please write again if you have more feedback to share.
Regards,
Victor
Telerik
Thanks for the feedback again. We'll add this functionality for the Q1 2015 release.
Please write again if you have more feedback to share.
Regards,
Victor
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Jacob
Top achievements
Rank 1
answered on 22 Jun 2015, 08:35 PM
Is there an update on this? I would like to do the same thing. If there is not an update is there some sort of work around?
0
Hello Jacob,
Thanks for writing.
I am afraid we could not squeeze this feature in for the Q1 release. The Q2 release is almost out of the door so we will try to implement it for Q2 SP1.
Regards,
Victor
Telerik
Thanks for writing.
I am afraid we could not squeeze this feature in for the Q1 release. The Q2 release is almost out of the door so we will try to implement it for Q2 SP1.
Regards,
Victor
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
Jacob
Top achievements
Rank 1
answered on 28 Sep 2015, 05:28 PM
Is there any update on this has it been released?
0
Hello Jacob,
Thank you for writing.
I am afraid this functionality was not implemented. So far this has been the only thread about this and there have been fixes and functionality with higher priority.
For now the workaround is to remove an axis when it should be invisible and then add it back to the chart to be visualized when necessary.
Regards,
Victor
Telerik
Thank you for writing.
I am afraid this functionality was not implemented. So far this has been the only thread about this and there have been fixes and functionality with higher priority.
For now the workaround is to remove an axis when it should be invisible and then add it back to the chart to be visualized when necessary.
Regards,
Victor
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