Page 1 of 1

Can I set the scale for axis

Posted: Mon Jan 04, 2010 6:24 am
by 6924564
Can I set the scale for axis.
For eg:- If I say as
With .Axis.Left
.SetMinMax -105.22 , 130

Then the dll itself sets the scale as 20. Which makes my bubble size small as in the attached image. I want to set the Y axis to have a scale of 50. so that the values in y-axis will be some thing like -100,-50,0,50,100,150. How can I do this.

Thanks in advance
CS.

Re: Can I set the scale for axis

Posted: Mon Jan 04, 2010 9:33 am
by yeray
Hi CS,

The following code seems to work fine for me here. Could you please modify it so that we can reproduce your problem here?

Code: Select all

Private Sub Form_Load()  
  TChart1.Aspect.View3D = False
  
  TChart1.AddSeries scBubble
  
  Dim i As Integer
  For i = 0 To 29
    TChart1.Series(0).asBubble.AddBubble (i * 5) + 50, 0, Rnd * 10, "", clTeeColor
  Next i
  
  With TChart1.Axis.Left
    .SetMinMax -105.22, 130
    .Increment = 50
  End With
End Sub