Print Page | Close Window

How to change the grid lines color?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18297
Printed Date: 22 November 2024 at 6:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to change the grid lines color?
Posted By: Norika
Subject: How to change the grid lines color?
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net