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
close icon

Can't get Title or Legend to appear

I can't seem to get the title or legend of an SFChart to appear.

I've ensured to enable them in my code:

            SFChart chart = new SFChart();
            chart.Title.Text = new NSString(title);
            chart.Title.TextAlignment = UITextAlignment.Center;
            chart.Title.BorderColor = UIColor.Black;
            chart.Title.TextColor = UIColor.Black;
            chart.Legend.Visible = true;
            ChartDoughnutDataSource dataModel = new ChartDoughnutDataSource(dataPoints);
            chart.DataSource = dataModel as SFChartDataSource;
            this.Control = chart;

But I can't get them to appear :(

1 Reply

PS Parthiban Sundaram Syncfusion Team January 18, 2016 08:57 AM UTC

Hi Andrew Cheong,

Thanks for using Syncfusion products,

We have analyzed the reported issue with our sample and we were unable to reproduce it. Can you please check with the sample from the following location? If you still face the problem, please send us the modified sample along with replication procedure. This would be helpful for us to find a solution to the issue.
Sample: http://www.syncfusion.com/downloads/support/forum/121689/ze/Forum1216891779930479

Regards,
Parthiban S

Loader.
Live Chat Icon For mobile
Up arrow icon