Steve Posted April 1, 2007 Report Share Posted April 1, 2007 Hi, I'm trying to create a chart with a y-axis that goes from30 at the bottom to 1 at the top. In other words, if a data point is1, I want it to have a long bar whereas a datapoint of 30 would have ashort bar. I tried the inverted property, but that isn't what I'mlooking for. So, if I had a bar chart with 3 points with values 5, 3, and 1, I'd want the chart to look like this: (With bars in place of the X's of course) 1 X 2 X 3 X X 4 X X 5 X X X -----------Thanks! Link to comment Share on other sites More sharing options...
Frank Posted April 1, 2007 Report Share Posted April 1, 2007 Assign: chart1.AxisY.Inverted = true; chart1.YFrom[0,0] = 30; // Your MAX value Link to comment Share on other sites More sharing options...
Steve Posted April 2, 2007 Author Report Share Posted April 2, 2007 YFrom isn't an available property for the chart object. I'm using ChartFX for .NET version 6.2. My chart declaration: this.chart1 = new SoftwareFX.ChartFX.Chart(); My ChartFX.dll is version 6.2.1342.0 Am I missing something here? Thanks! Link to comment Share on other sites More sharing options...
Frank Posted April 3, 2007 Report Share Posted April 3, 2007 Sorry about that, I got mixed up with Chart FX 7 for a second. The name of the property is IniValue. The rest is the same. You do need to call OpenData with COD.IniValues prior to assigning this property. MDITest.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.