Hi guys
I am trying to draw an arc in a 3D bubble scatter plot.I have a code that looks like this
Sub insertArc()
Dim Arc As Shape
Const CenterX = 200
Const CenterY = 200
Const Radius = 10
ActiveSheet.ChartObjects("Chart 15").Activate
Set Arc = ActiveChart.Shapes.AddShape(msoShapeArc, CenterX, CenterY - Radius, Radius, Radius)
Arc.Line.EndArrowheadStyle = msoArrowheadTriangle
Arc.Adjustments.Item(1) = 30
Arc.Adjustments.Item(2) = 180
how can i reference the Const CenterY and ConstCenterX to the graph origin ?
End Sub
I am trying to draw an arc in a 3D bubble scatter plot.I have a code that looks like this
Sub insertArc()
Dim Arc As Shape
Const CenterX = 200
Const CenterY = 200
Const Radius = 10
ActiveSheet.ChartObjects("Chart 15").Activate
Set Arc = ActiveChart.Shapes.AddShape(msoShapeArc, CenterX, CenterY - Radius, Radius, Radius)
Arc.Line.EndArrowheadStyle = msoArrowheadTriangle
Arc.Adjustments.Item(1) = 30
Arc.Adjustments.Item(2) = 180
how can i reference the Const CenterY and ConstCenterX to the graph origin ?
End Sub