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

Xamarin.Forms Bar Chart not displaying Y axis in iOS

1 Answer 111 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Madan
Top achievements
Rank 1
Madan asked on 07 Apr 2017, 04:57 PM

here is my code

i am not sure why the exact code is working in android as expected not in iOS. Also what's weird is that only the Y axis is not showing.

 

 

        <telerikChart:RadCartesianChart Grid.Row="1" IsVisible="{Binding IsDataLoaded}" >
            <!-- axis-->
            <telerikChart:RadCartesianChart.HorizontalAxis>
                <telerikChart:CategoricalAxis  LabelFitMode="Rotate"/>
            </telerikChart:RadCartesianChart.HorizontalAxis>
            <telerikChart:RadCartesianChart.VerticalAxis>
                <telerikChart:NumericalAxis LabelFitMode="Rotate" LabelFormat="P0" />
            </telerikChart:RadCartesianChart.VerticalAxis>

            <!-- series -->
            <telerikChart:RadCartesianChart.Series>
                <telerikChart:BarSeries CategoryBinding="Month"  LabelFormat="{}{0:P1}" ShowLabels="True"
                            ValueBinding="ValueRaw"
                            ItemsSource="{Binding UtilizationSeries}" />

            </telerikChart:RadCartesianChart.Series>
        </telerikChart:RadCartesianChart>

 

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 12 Apr 2017, 01:40 PM
Hello Madan,

Thank you for contacting us! Unfortunately, we are unable to reproduce the issue from our side using similar setup.
In order to identify the problem would it be possible to elaborate more on the scenario - when the chart is set to visible, what is the parent container and any restrictions set on the grid rows as well as the version of our controls used. Also does the problem occurs device or emulator.

Regards,
Tsvyatko
Telerik by Progress
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
Madan
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or