Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Chart Control
  New Posts New Posts RSS Feed - Chart Series Coloring
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Chart Series Coloring

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

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Topic: Chart Series Coloring
    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
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Top3r View Drop Down
Newbie
Newbie


Joined: 28 March 2012
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Top3r Quote  Post ReplyReply Direct Link To This Post 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..)


??
Back to Top
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 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
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.266 seconds.