MaxDataAxisValue programatically
I am showing line chart in crystal report named Report1 in web form. This line chart is design time created one but I am refreshing report in run time.
I was able to get hold of chartobject in Report1 as mentioned below. But I cant see any property to set MaxDataAxisValue and MinDataAxisValue for the line chart programatically.
Report1 rpt=new Report1();
CrystalDecisions.CrystalReports.Engine.ChartObject objChart;
objChart=(CrystalDecisions.CrystalReports.Engine.C hartObject) rpt.ReportDefinition.ReportObjects[0];
objChart.Left=10;
I will appreciate for your help regarding this...
|