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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set the visible to false for the default chart

Thread ID:





70363 Dec 10,2007 05:39 AM UTC Dec 11,2007 06:50 AM UTC ASP.NET Web Forms (Classic) 2
Tags: Chart
Asked On December 10, 2007 05:39 AM UTC

The chartwebcontrol will display a default image which shows some bars, the chart title and the legend, when we don't do anything to the chart.

I don't want that image and only want to keep that background color.

Please tell me how to archieve this?

Replied On December 10, 2007 05:53 AM UTC

I have use ShowLegend property to hide the legend:
this.ChartWebControl1.ChartWebArea.Chart.ShowLegend = false;

But I cannot find a way to hide the default bar.

Rajarajeswari S [Syncfusion]
Replied On December 11, 2007 06:50 AM UTC

Hi Lio,

By default if you placed a chart control on the page the default image get displayed. This is associated with chart control design time architecture. Because while loading you can't make the ChartControl model become null. That is not at all possible. So your requirement is not possible.

Please let me know if you have any other concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon