Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the chart object

Status
Not open for further replies.

marle35

Programmer
Jul 17, 2007
36
I have a problem in that I am unable, at times, to set the property of .ChartTitle.Text of the chart object. I found that this happens when the chart has no data. For instance, a product is chosen that happens to have no data associated with it. So nothing appears in the chart. Then, a different product is selected, and I get "Run-time error '1004': unable to set the text property of the charttitle class." How do I get around this? Is there a way to test for whether there is no data in the chart?

Also, is there a way programatically to set the minimum and maximum X-axis values shown on a chart?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top