Print Page | Close Window

Chart Series Coloring

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=17437
Printed Date: 12 December 2024 at 8:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Chart Series Coloring
Posted By: SHAN
Subject: Chart Series Coloring
Date Posted: 17 October 2010 at 1:09am
Hi,
 
 I want to set some standard colors for Chart Series manually...
 
 Is that possible to do that?
 
 Just see my Screen shot below .....!
 
 Check the Legend area ( I have shown the color what I needed in the chart to display...)
 
Thanks
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0



Replies:
Posted By: Fabian
Date Posted: 18 October 2010 at 1:47am
Hi SHAN,
 
Dim Series As ChartSeries
 
Set Series = ChartControl1.Content.Series.Add(myLabel)
Set Series.Style = New ChartBarSeriesStyle
Series.Style.Color = RGB(255,0,0)
 
''...and other style stuff...
Series.Style.Label.Font.StdFont.Name = "Tahoma"
Series.Style.Label.Format = "%.02f"
 
Hope that helps
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: SHAN
Date Posted: 20 October 2010 at 12:34am
Hi Fabian,
 
Thanks for your Reply.... It works......!


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0


Posted By: Top3r
Date Posted: 07 May 2012 at 6:02am
Hello,
how did you set the Textcolor from the X and the Y - Axis ?

(the 0,200,400,600... and the IP200,WL150,WN100..)


??


Posted By: Norika
Date Posted: 23 October 2012 at 8:26am
Hi, Top3r,
    Dim SeriesN As XtremeChartControl.ChartSeries
    Dim Diagram As XtremeChartControl.ChartDiagram2D
    Set SeriesN = Chart1.Content.Series.Add("")
      :
      :
      :
    Set Diagram = SeriesN.Diagram
    Diagram.AxisY.Label.TextColor = vbWhite
    Diagram.AxisX.Label.TextColor = vbCyan
 
Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows 7 Professional
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