Jump to content
Software FX Community

Printing zoomed/scrolled scatter chart x-scale problem

User (Legacy)

Recommended Posts

When I zoom into a scatter chart, I have a printing problem. Using the

provided print dialog from the print command on the toolbar, if I choose

"All" I get two pages. The first page is the zoomed area, but the second has

an x-axis range far beyond the end of the data. The values on the x axis

correspond closely to the number of points in the chart, as if ChartFX did

not apply the x-axis values to this page as for a scatter plot, but rather

it used the index values of the points themselves.

For example, a chart with 751 points had x-values from 0.0 to 5.0. I zoomed

into the region from x=0.0 to x=1.8. When I printed "all", I got a first

page with x-values from 0.0 to 1.8, but the second page ran from 749.20 to


I created the graph in ver 6.2.1662 as follows.

With Chart1

.Gallery = Gallery.Scatter.Lines

.AxisX.AutoScale = True

.AxisY.AutoScale = True

.AxisY.ForceZero = False

.AxisX.ForceZero = False

.DataSourceSettings.DataType(0) = DataType.XValue

.DataSourceSettings.DataType(1) = DataType.Value

End With

The data is provided in this way, with Single sXData() and sYData() arrays

that contain the values

Dim ChartData As New ArrayList 'holds data, as x and y arrays, for plotting



Dim myDataProvider As New SoftwareFX.ChartFX.Data.ListProvider(ChartData)

Chart1.DataSource = myDataProvider


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...