Nick135 / googlechartsharp

Automatically exported from code.google.com/p/googlechartsharp
0 stars 0 forks source link

Data in Bar Chart not properly scaled #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Create a BarChart that uses the extended encoding. E.g. create a chart of
200x200 pixels and use values above 63 so that extended encoding is used.

What is the expected output?
A normal bar chart that is properly scaled.

What do you see instead?
A chart with very tiny bars.

What version of the product are you using? On what operating system?
1.0.2.

Please provide any additional information below.
I've created a patch, see the attachment.

Original issue reported on code.google.com by bughunter2@gmail.com on 17 Sep 2008 at 1:50

Attachments:

GoogleCodeExporter commented 8 years ago
BTW, I see a possible problem with my patch. If findMaxValue(data) will return 0
there will be a division by zero.

Thought I should let you know in case you're considering to accept the patch.

Original comment by bughunter2@gmail.com on 23 Oct 2008 at 1:26