Programatic access to the MaxDataAxisValue and MinDataAxisValue of the IGraphObject
Posted on 2003-11-14
I'm writing a report with asp.net and c# that generates three seperate bar graphs from the same set of data. I want to be able to find the largest value in the data set and programatically set the MinDataAxisValue of all the graphs to the same value, so that the relative size of the bars on each graph is the same.
I get access to the report object with this line
BIRGraphReport gr = new BIRGraphReport();
where BIRGraphReport refers to the BIRGraphReport.rpt file.
The problem is I can't find any access to the graph object in the report object. In vs.net I look in the properties window for the graph and it says it is of type IGraphObject, but when I search for that object in the object browser, the browser can't find the class or interface. Please help.