I want to implement the custom axis for my graph.I am having following code
scrip-let for that
Dim customAxisY As New DataDynamics.ActiveReports.Chart.CustomAxis
Me.ChartControl1.ChartAreas(0).Axes.Add(customAxisY)
customAxisY.LabelFont = New DataDynamics.ActiveReports.Chart.FontInfo(Color.Red, New Font("Arial", 7.0!))
customAxisY.LabelsGap = 1
customAxisY.LabelsVisible = True
customAxisY.Line = New DataDynamics.ActiveReports.Chart.Graphics.Line(Color.Red)
customAxisY.MajorTick = New DataDynamics.ActiveReports.Chart.Tick(New DataDynamics.ActiveReports.Chart.Graphics.Line(Color.Red, 1), New DataDynamics.ActiveReports.Chart.Graphics.Line(Color.Red, 1), 1, 2.0F, True)
customAxisY.MajorTick.GridLine = New DataDynamics.ActiveReports.Chart.Graphics.Line(Color.Red, 1, LineStyle.Solid)
customAxisY.MajorTick.Visible = True
customAxisY.Max = 5
customAxisY.MaxDerived = False
customAxisY.Min = 0
customAxisY.Visible = True
customAxisY.Parent = ((CType(Me.ChartControl1.ChartAreas(0).Axes("AxisY"), DataDynamics.ActiveReports.Chart.Axis)))
customAxisY.PlacementLength = 20
customAxisY.PlacementLocation = 30
It gives me error on line
Dim customAxisY As New DataDynamics.ActiveReports.Chart.CustomAxis
Error is:
Type DataDynamics.ActiveReports.Chart.CustomAxis is not defined
So which class library should I import to sort of this error.
or any full code scriplet???????????