Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Chart Control
  New Posts New Posts RSS Feed - How to change the grid lines color?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change the grid lines color?

 Post Reply Post Reply
Author
Message
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post Topic: How to change the grid lines color?
    Posted: 01 May 2011 at 11:32am

Dear Sirs,

Can I change the grid line color of my line chart by runtime?
 (I don't want to use an xml file).

    Dim SeriesN As XtremeChartControl.ChartSeries

    Set SeriesN = Chart1.Content.Series.Add("")
    Set Diagram = SeriesN.Diagram

    Diagram.BackgroundColor = RGB(41, 41, 41)

    Diagram.AxisX.InterlacedColor = RGB(28, 28, 28)
    Diagram.AxisY.InterlacedColor = RGB(28, 28, 28)

   ' Diagram.AxisX.GridLines.Color = vbYellow
   ' Diagram.AxisY.GridLines.Color = vbYellow

Product: Xtreme SuitePro (ActiveX) V15.0.2
Platform: Windows Vista SP2
Language: Visual Basic 6.0 SP6

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.