Hi,
I'm loading a large CSV file and using it to create and plot a graph. My client gave me two CSV files for testing. One has a much greater y axis variance than the other. When the y axis is drawn for the file with the larger variance it is thickened. It appears to be about 10 pixels wide as opposed to 2 which the width it's set at. Also, when I view the file online as aopposed to my desktop, the x axis is thickened in the same manner regardles of which file I use.
Any thoughts would be appreciated.
Best regards,
Chris McLaughlin
Hi Ned,
Here's the code:
var yAxis = new Shape();
yAxis_mc.addChild(yAxis);
yAxis.graphics.lineStyle(2, 0x000000, 1)
yAxis.graphics.moveTo(0, 0);
yAxis.graphics.lineTo(0, maxY+25)
yAxis_mc is an empty movie clip that is already positioned on the stage. Other shapes (horizontal hash marks) are added subsequently. Text fields containing the values for the values are also added. But other than adding things to the yAxis_mc nothing else is done to it. I do have a custom scroll bar that moves it but this just adjusts it's y position.
Also as I mentioned this thickening doesn't occur with one of the CSV files. I'm wondering if there is some quirkiness do to the size of the y axis required for the second CSV file. The y axis is 10,025 px for the smaller file and jumps to 35,275 px for the larger. I know flash has some upper limits and I may be on the other side of these.
The other weird thing is that on-line the x axis shows and even greater thickening, maybe 16 px but this doesn't happen offline which is how the client plans to use it so it's not as critical. I don't know if this online thickening suggests anything to you.
Again, I appreciate your thinking about this.
Best regards,
Chris McLaughlin
North America
Europe, Middle East and Africa
Asia Pacific