KABDRM
Programmer
- Jan 13, 2005
- 50
Hello,
I am using VB6 with Crystal Reports 9.
I have an XY Scatter graph in my report. I'd like to be able to let the user select the min and max axis values through my VB application. It is letting my set many chart options but not the X-axis min and max. I've tried setting it using both the MinData2AxisValue/MaxData2AxisValue and the MinSeriesAxisValue/MaxSeriesAxisValue but I believe these are not the x-axis at all so that is why I see not change. There is a property to set the x-axis title. Below is how I am setting the graph options for the y-axis (data axis) and the axis labels in my application:
If crxReportGraph.Name = "Graph1" Then
crxReportGraph.AutoRangeDataAxis = False
crxReportGraph.MinDataAxisValue = txtDataAxisMin.Text
crxReportGraph.MaxDataAxisValue = txtDataAxisMax.Text
crxReportGraph.DataTitle = txtDataAxisLabel.Text
crxReportGraph.XAxisTitle = txtXAxisLabel.Text
End If
Does ANYONE know if it is even possible to change the X-axis min and max values for a Crystal scatter plot dynamically? And if you can, how?
Thanks for your time and consideration!
I am using VB6 with Crystal Reports 9.
I have an XY Scatter graph in my report. I'd like to be able to let the user select the min and max axis values through my VB application. It is letting my set many chart options but not the X-axis min and max. I've tried setting it using both the MinData2AxisValue/MaxData2AxisValue and the MinSeriesAxisValue/MaxSeriesAxisValue but I believe these are not the x-axis at all so that is why I see not change. There is a property to set the x-axis title. Below is how I am setting the graph options for the y-axis (data axis) and the axis labels in my application:
If crxReportGraph.Name = "Graph1" Then
crxReportGraph.AutoRangeDataAxis = False
crxReportGraph.MinDataAxisValue = txtDataAxisMin.Text
crxReportGraph.MaxDataAxisValue = txtDataAxisMax.Text
crxReportGraph.DataTitle = txtDataAxisLabel.Text
crxReportGraph.XAxisTitle = txtXAxisLabel.Text
End If
Does ANYONE know if it is even possible to change the X-axis min and max values for a Crystal scatter plot dynamically? And if you can, how?
Thanks for your time and consideration!