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.
Unfortunately, activation email could not send to your email. Please try again.

How to set the visible to false for the default chart

Thread ID:

Created:

Updated:

Platform:

Replies:

70363 Dec 10,2007 12:39 AM Dec 11,2007 01:50 AM ASP.NET Web Forms (Classic) 2
loading
Tags: Chart
Jack
Asked On December 10, 2007 12:39 AM

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?
Thanks!


Jack
Replied On December 10, 2007 12:53 AM

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 01:50 AM


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.

Regards,
Raji



CONFIRMATION

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.

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.

;