We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ColumnSeries not showing

Hi, I'm trying to render a graph with some ColumnSeries, with no luck. Here's the Xaml

<Grid BackgroundColor="{StaticResource PageSectionBackground}" HeightRequest="200" Padding="0">
<chart:SfChart x:Name="SegnalazioniChart" VerticalOptions="FillAndExpand">
<chart:ColumnSeries ItemsSource="{Binding Segnalazioni}" Label="Accordato" Color="#dbdeea" EnableAnimation="true" AnimationDuration="0.8" EnableTooltip="True" YBindingPath="ImportoAccordato" XBindingPath="Mese" />
<chart:ColumnSeries ItemsSource="{Binding Segnalazioni}" Label="Utilizzato" StrokeWidth="5" Color="#9acc49" EnableAnimation="true" AnimationDuration="0.8" EnableTooltip="True" YBindingPath="ImportoUtilizzato" XBindingPath="Mese" />
<chart:ColumnSeries ItemsSource="{Binding Segnalazioni}" Label="Garantito" StrokeWidth="5" Color="#f5a623" EnableAnimation="true" AnimationDuration="0.8" EnableTooltip="True" YBindingPath="ImportoGarantito" XBindingPath="Mese" />
<chart:ChartLegend DockPosition="Bottom" />
<chart:ChartTitle Text="Dettaglio ultime 12 segnalazioni" TextAlignment="Start" TextColor="{StaticResource TitleText}" Margin="7,0" />
<chart:CategoryAxis ShowMajorGridLines="true">
<chart:NumericalAxis ShowMajorGridLines="false" Minimum="0" Maximum="10000" ShowMinorGridLines="false" MinorTicksPerInterval="1" IsVisible="true" RangePadding="Auto">
<chart:ChartZoomPanBehavior EnablePanning="true" EnableDoubleTap="false" />


public class Segnalazione
        public string Mese { get; set; }
        public double ImportoAccordato { get; set; }
        public double ImportoUtilizzato { get; set; }
        public double ImportoGarantito { get; set; }

    public class SegnalazioniViewModel : ViewModelBase
        private UserData _userData;

        public ObservableCollection<Segnalazione> Segnalazioni = new ObservableCollection<Segnalazione>();

        public SegnalazioniViewModel(INavigation navigation) : base(navigation)

        private void LoadData()
            _userData = DataManager.GetUserData();

            foreach (var segnalazione in _userData.Segnalazioni)
                Segnalazioni.Add(new Segnalazione
                    Mese = new DateTime(segnalazione.Anno, segnalazione.Mese, 1).ToString("MMM"),
                    ImportoAccordato = segnalazione.ImportoAccordato,
                    ImportoGarantito = segnalazione.ImportoGarantito,
                    ImportoUtilizzato = segnalazione.ImportoUtilizzato

Graph is showing up, but the series is not. What I'm doing wrong?

1 Reply

YP Yuvaraj Palanisamy Syncfusion Team July 12, 2016 01:16 PM UTC

Hi Marco Bellini,

Thanks for contacting Syncfusion support.

We are not able to reproduce the reported issue at our end and we have prepared a sample for this. Please revert us the modified sample based on your requirement which will be helpful for further assistance.

Sample: http://www.syncfusion.com/downloads/support/forum/124958/ze/ColumnSeries-1212741133  


Live Chat Icon For mobile
Up arrow icon