Home » Categories » CHARTrunner

CR: Chart [the name of the chart] failed with one or more errors

Revision Date: 2005-09-19

Problem:

When a column name starts with one or more spaces, the following error appears:
Chart [the name of the chart] failed with one or more errors:
[PQCrDef.Display] Failed to Prepare Chart  [the name of the chart]
[PQCrDef.GetChartRecordSet1 (  )] Too few parameters. Expected 1.
Make sure the data source and the chart definition are complete.

Solution:

Go back to the source, i.e. Excel, and edit the column name so that it does not start with spaces. This may be hard to see, especially if there is only one space before the name begins.

Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
CR: CR1.1 - Notes and Causes Problem
Viewed 2087 times since Fri, Nov 9, 2007
CR: SQL Server Stored Procedures Returns No Records
Viewed 2269 times since Fri, Nov 9, 2007
CR: Charting counted incidents
Viewed 1935 times since Thu, Feb 23, 2012
CR: Data grouping tardiness
Viewed 3161 times since Tue, Oct 6, 2009
CR: CR1.5 - My control chart data lines are not printing
Viewed 2183 times since Fri, Nov 9, 2007
CR: Multiple chart lines from one data column
Viewed 2228 times since Fri, Nov 9, 2007
CR: Show every date on the chart
Viewed 2217 times since Thu, Jan 31, 2008
CR: Making an X-bar chart with a single data column
Viewed 2076 times since Fri, Nov 9, 2007
CR: Bar Chart of a column of numbers in various categories
Viewed 1965 times since Fri, Nov 9, 2007
CR: CR1.1 - Charts in the Chart Workspace do not print all of the charts
Viewed 2044 times since Fri, Nov 9, 2007