User (Legacy) Posted November 12, 2004 Report Share Posted November 12, 2004 Hi, I have a problem with CfxLite. I need to be able to rescale my Y or Y2 axis, but it won't work. 1. I first connected data using a dataset, with 3 columns X, Y, and Y2 data points. This displays fine and shows the correct data (2 bar charts) 2. I then tried to rescale using RecalcScale, or even by manually setting the YAxis Max value. 3. All attempts result in two random datasets being displayed, but the axis values are as expected. 4. SO - I then tried reading my data into arrays, calculating my own max/min values and then using OpenData to post in the values, with or without a ResetScale (NB only posting series data - no X axis). 5. Same results. It seems that whenever I set a value into Max - the chart data is all corrupted to some random numbers (ie they vary every time the chart displays even though I have checked that the data being posted is correct each time. 6. The data is so obviously random as many of the bars on the Y Axis should be zero !!! and they aren't. Does the 'Max' property actually work, or am I just not using it correctly - or is there some other way to 'scale' my charts which I should be using. I simply want to be able to reduce the max value so as to 'expand' the chart for low values. EG a Y value of 10,000 makes viewing a Y Value of 20 a little difficult etc., so I want to be able to set max to say 1000 (thus scaling the axis to 1/10). Thanks Graham Stevenson Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 12, 2004 Author Report Share Posted November 12, 2004 Hi, I have a problem with CfxLite. I need to be able to rescale my Y or Y2 axis, but it won't work. 1. I first connected data using a dataset, with 3 columns X, Y, and Y2 data points. This displays fine and shows the correct data (2 bar charts) 2. I then tried to rescale using RecalcScale, or even by manually setting the YAxis Max value. 3. All attempts result in two random datasets being displayed, but the axis values are as expected. 4. SO - I then tried reading my data into arrays, calculating my own max/min values and then using OpenData to post in the values, with or without a ResetScale (NB only posting series data - no X axis). 5. Same results. It seems that whenever I set a value into Max - the chart data is all corrupted to some random numbers (ie they vary every time the chart displays even though I have checked that the data being posted is correct each time. 6. The data is so obviously random as many of the bars on the Y Axis should be zero !!! and they aren't. Does the 'Max' property actually work, or am I just not using it correctly - or is there some other way to 'scale' my charts which I should be using. I simply want to be able to reduce the max value so as to 'expand' the chart for low values. EG a Y value of 10,000 makes viewing a Y Value of 20 a little difficult etc., so I want to be able to set max to say 1000 (thus scaling the axis to 1/10). Thanks Graham Stevenson Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.