SetDataGraphProperty

 

Purpose: Set a property for a DataGraph

 

 

Argument  

Type

Required

Purpose

1

integer

Yes

DataGraph Number (1-3)

       

2

Variant

Yes

property to set

"ClearValueSets"

arg 3 is unused but should be set to 0 (zero)

"Height"

arg 3 is height

"LowY"

arg 3 low Y axis value

"IncY"

arg 3 Y axis increment

"HighY"

arg 3 high Y axis value

"ShowGrid"

arg 3 is "On" or "Off"

"LineType"

arg 3 is 1-27.  See Line Patterns.

"ShowGraph"

arg 3 "On" or "Off"

"LineBar"

arg 3 can be one of these: "Line", "Bar", "WideBar", or "Point"

"PlotInScheduleArea"

arg 3 "On" or "Off"

"BackgroundColor"

arg 3 see About Color numbering and RGB Color

"BackgroundTargetColor

arg 3 see About Color numbering and RGB Color

"StackedBars"

arg 3 is 0 (turn off stacking) or 1 (turn on stacking)

 "OverlayGraph2"

arg 3 is 0 (turn off overlay) or 1 (turn on overlay) - arg 1 must be 1

 "OverlayGraph3"

arg 3 is 0 (turn off overlay) or 1 (turn on overlay) - arg 1 must be 1

"GridColor"

arg 3 see About Color numbering and RGB Color

"FadeType"

arg 3 is 0-6.  See Fade Types

"IncludeValueSet"

arg 3 is "ValueSet Name" or the ValueSet number (1-9)

3

Integer

 

 

 

 

Example: Set the height of DataGraph 1 to 1.3.

With objMilestones

  .SetDataGraphProperty (1,"Height",1.3)

End With

Related Topics

  1. GetDatagraphProperty
  2. GetFirstWeeklyValueSetDate
  3. GetTasklineValueSetValue
  4. GetValueSetDateAlignment
  5. GetValuesetProperty
  6. SetTasklineValueSetValue
  7. SetTaskLineVerSymSpace
  8. SetValueSetName
  9. SetValueSetProperty
  10. SetValueSetDateAlignment
  11. Example 15 - DataGraph and ValueSet sampler

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To effectively program with this interface, it's important to learn all about Milestones Professional.  Learn about Milestones.

Milestones Professional 2025 Automation Methods and Properties.  © Copyright 2000-2025, KIDASA Software, Inc. All rights reserved.