Plotting Small Numbers

A

AGMorgan

I am plotting some small numbers (capacitance) using OWC 9 on a form in VB
The trouble I am having is that the grid lines continue above the chart
I have posted a screenshot her
http://www.vbforums.com/showthread.php?s=&postid=1695143#post169514

Is there a limit on how small the numbers can be
This doesn't happen with larger numbers (e.g E-12

Data Sample
X-Axis,Y_Axi
1,-7.97385458092385E-1
2,-7.98415116291897E-1
3,-8.00087822052022E-1
4,-8.02457776062733E-1

Cod
Dim chtLine As OWC.WCChar

' Adds a chart to the ChartSpace object
Set chtLine = ChartSpace1.Charts.Ad
chtLine.Type = chChartTypeScatterLin
With chtLin
.HasTitle = Tru
.Title.Caption = "Capacitance
.Axes(0).HasTitle = Tru
.Axes(0).Title.Caption = "Y axis
.Axes(1).HasTitle = Tru
.Axes(1).Title.Caption = "X axis
End Wit

ChartSpace1.Charts(0).SeriesCollection.Ad

With chtLine.SeriesCollection(0
.SetData chDimXValues, chDataLiteral, xData(
.SetData chDimYValues, chDataLiteral, yData(
End Wit
' Specifies scaling for axis
With chtLine.Axes(chAxisPositionLeft).Scalin
.Maximum = -7.8 * 10 ^ -1
.Minimum = -9.5 * 10 ^ -1
End Wit
' Specifies gridlines
chtLine.Axes(chAxisPositionLeft).HasMinorGridlines = Fals
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top