MS Chart Control 6.0 - possibility of removal of left and bottom Margin of the chart.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ragjaygow
    New Member
    • Sep 2012
    • 1

    MS Chart Control 6.0 - possibility of removal of left and bottom Margin of the chart.

    Hi,

    I would like to remove the margins at the left and bottom of the chart created using MS Chart control 6.0. I wish to have the 0,0 co-ordinates as the left bottom edge of the chart. Is it possible?
  • Guido Geurs
    Recognized Expert Contributor
    • Oct 2009
    • 767

    #2
    You can move the graph rectangle with:
    Code:
    Private Sub Command1_Click()
       With MSChart1
          .Enabled = True
          .Plot.LocationRect.Min.X = -60
          .Plot.LocationRect.Min.Y = -135
       End With
    End Sub

    Comment

    Working...