Jump to content

Variable charting issue


Recommended Posts

I'm doing a utility bill that contains a bar chart that changes from bill to bill. Everything is working great until I run into a user that has all zeros for usage data. Then I get a "Minimum scale is not smaller than maximum scale set or largest number in data. Check the scale values set in the chart format." error.


The data is correct, they just have zero usage, I would think it should just return a blank graph.


Is there any fix/workaround for this? the biggest problem is when I get this error it messes up that record (doesn't print some of the other variable data on the page) and I have to back in an manually reprint all the records that have no data usage.


I'm getting my graphing data by pulling my usage numbers into an array and then population the chart table with that data.


thanks in advance.

Link to comment
Share on other sites

As a workaround, can you create a graphic in Illustrator (or whatever program you want) that looks correct, and then write a rule that will use that graphic instead of creating a chart if the values in the data file are zero?
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...