ChartDirector Documentation
License Agreement
Introduction
Installation
Installing ChartDirector for PHP
Trouble-Shooting ChartDirector for PHP Installation
Appendix - PHP Concepts
Getting Started
The First Project
Incorporating Charts in Web Pages
ChartDirector Object Model Overview
What's Next
Pie Charts
Simple Pie Chart
3D Pie Chart
Multi-Depth Pie Chart
Side Label Layout
Circular Label Layout
Pie Chart with Legend (1)
Pie Chart with Legend (2)
Exploded Pie Chart
Icon Pie Chart (1)
Icon Pie Chart (2)
Multi-Pie Chart
Donut Chart
3D Donut Chart
Icon Donut Chart
Texture Donut Chart
Concentric Donut Chart
2D Pie Shading
3D Pie Shading
2D Donut Shading
3D Donut Shading
Text Styles and Colors
3D Angle
3D Depth
3D Shadow Mode
Start Angle and Direction
Donut Width
XY Charts
Bar Charts
Simple Bar Chart
Multi-Color Bar Chart
Soft Bar Shading
Glass Bar Shading
Gradient Bar Shading
Cylinder Bar Shading
3D Bar Chart
Cylinder Bar Shape
Polygon Bar Shapes
Stacked Bar Chart
Percentage Bar Chart
Multi-Bar Chart
Soft Multi-Bar Chart
Glass Multi-Bar Chart
Gradient Multi-Bar Chart
Multi-Cylinder Chart
Multi-Shape Bar Chart
Overlapping Bar Chart
Multi-Stacked Bar Chart
Depth Bar Chart
Positive Negative Bars
Borderless Bar Chart
Dual Horizontal Bar Charts
Bars with Marks
Pareto Chart
Variable Width Bar Chart
Bar Gap
Line Charts
Simple Line Chart
Compact Line Chart
3D Line Chart
Multi-Line Chart
Symbol Line Chart
Symbol Line Chart (2)
Missing Data Points
Uneven Data Points
Spline Line Chart
Step Line Chart
Inter-Line Coloring
Line Comparison
Line with Error Symbols
Multi-Symbol Line Chart
Binary Data Series
Custom Symbols
Rotated Line Chart
Arbitrary XY Line Chart
Trending and Curve Fitting
Trend Line Chart
Scatter Trend Chart
Confidence Band
Parametric Curve Fitting
General Curve Fitting
Scatter/Bubble/Vector Charts
Scatter Chart
Built-In Symbols
Custom Scatter Symbols
Custom Scatter Labels
Bubble Chart
3D Bubble Chart (1)
3D Bubble Chart (2)
3D Bubble Chart (3)
Bubble XY Scaling
Vector Chart
Area Charts
Simple Area Chart
Enhanced Area Chart
3D Area Chart
Pattern Area Chart
Stacked Area Chart
3D Stacked Area Chart
Percentage Area Chart
Depth Area Chart
Rotated Area Chart
Floating Box/Waterfall Charts
Box-Whisker Chart
Horizontal Box-Whisker Chart
Floating Box Chart
Waterfall Chart
Pos/Neg Waterfall Chart
Gantt Charts
Simple Gantt Chart
Multi-Color Gantt Chart
Multi-Layer Gantt Chart
Contour Charts/Heat Maps
Contour Chart
Continuous Contour Coloring
Scattered Data Contour Chart
Contour Interpolation
Finance Charts
High-Low-Open-Close Chart
Candlestick Chart
Finance Chart (1)
Finance Chart (2)
Interactive Financial Chart
Other XY Chart Features
Marks and Zones
Marks and Zones (2)
Y Zone Coloring
X Zone Coloring
Dual Y-Axis
Dual X-Axis
Multiple Axes
4 Quadrant Chart
Data Table (1)
Data Table (2)
Text Styles and Colors (2)
Background and Wallpaper
Log Scale Axis
Y-Axis Scaling
Tick Density
Surface Charts
Surface Chart (1)
Surface Chart (2)
Surface Chart (3)
Scattered Data Surface Chart
Surface Chart Axis Types
Surface Lighting
Surface Shading
Surface Wireframe
Surface Perspective
Polar/Radar Charts
Simple Radar Chart
Multi Radar Chart
Stacked Radar Chart
Polar Line Chart
Polar Area Chart
Polar Spline Chart
Polar Scatter Chart
Polar Bubble Chart
Polar Vector Chart
Simple Rose Chart
Stacked Rose Chart
Circular Zones
Sector Zones
Pyramids/Cones/Funnels
Simple Pyramid Chart
3D Pyramid Chart
Rotated Pyramid Chart
Cone Chart
Funnel Chart
Pyramid Elevation
Pyramid Rotation
Pyramid Gap
Meters and Gauges
Semi-Circle Meter
Round Meter
Wide Angular Meters
Square Angular Meters
Multi-Pointer Angular Meter
Icon Angular Meter
Horizontal Linear Meter
Vertical Linear Meter
Multi-Pointer Horizontal Meter
Multi-Pointer Vertical Meter
Linear Zone Meter
Using Data Sources with ChartDirector
Using ChartDirector with Database in Web Pages
Database Sample Code Overview
Direct Database Access
Pass Data as HTTP Query Parameters
Clickable Charts
Introduction to Clickable Charts
Clickable Charts Operation Overview
Simple Clickable Charts
Javascript Clickable Charts
Custom Clickable Objects
Database Clickable Charts
Using Multiple Click Handlers
Making Other Objects Clickable
Zoomable and Scrollable Charts
Zooming and Scrolling Framework
Zooming and Scrolling Demonstration
Zooming and Scrolling Demonstration (2)
Realtime Charts
Realtime Charts in ChartDirector
Realtime Chart Demonstration
ChartDirector Reference
Class Library
phpchartdir
Constants
NoValue
BottomLeft
BottomLeft2
BottomCenter
BottomRight
BottomRight2
Left
Center
Right
TopLeft
TopLeft2
TopCenter
TopRight
TopRight2
Bottom
Top
Transparent
BackgroundColor
LineColor
TextColor
SameAsMainColor
Palette
DataColor
defaultPalette
whiteOnBlackPalette
transparentPalette
NormalGlare
ReducedGlare
NoGlare
DashLine
DotLine
DotDashLine
AltDashLine
goldGradient
silverGradient
redMetalGradient
blueMetalGradient
greenMetalGradient
SquareShape
DiamondShape
TriangleShape
RightTriangleShape
LeftTriangleShape
InvertedTriangleShape
CircleShape
GlassSphereShape
GlassSphere2Shape
SolidSphereShape
DefaultShading
FlatShading
LocalGradientShading
GlobalGradientShading
ConcaveShading
RoundedEdgeShading
RadialShading
RingShading
SmoothShading
TriangularShading
RectangularShading
TriangularFrame
RectangularFrame
DiamondPointer
TriangularPointer
ArrowPointer
ArrowPointer2
LinePointer
PencilPointer
PNG
GIF
JPG
BMP
WMP
SVG
SVGZ
NoAntiAlias
AntiAlias
AutoAntiAlias
TryPalette
ForcePalette
NoPalette
Quantize
OrderedDither
ErrorDiffusion
SideLayout
CircleLayout
Side
Stack
Overlay
Percentage
MonotonicNone
MonotonicX
MonotonicY
MonotonicXY
MonotonicAuto
LinearRegression
ConstrainedLinearRegression
ExponentialRegression
LogarithmicRegression
LogTick
LinearTick
TickInc
MinorTickOnly
MicroTickOnly
PixelScale
XAxisScale
YAxisScale
AngularAxisScale
RadialAxisScale
EndPoints
XAxisAtOrigin
YAxisAtOrigin
XYAxisAtOrigin
XAxisSymmetric
XAxisSymmetricIfNeeded
YAxisSymmetric
YAxisSymmetricIfNeeded
XYAxisSymmetric
XYAxisSymmetricIfNeeded
NormalLegend
ReverseLegend
NoLegend
AutoGrid
ChartBackZ
ChartFrontZ
PlotAreaZ
GridLinesZ
TouchBar
HLOCDefault
HLOCOpenClose
HLOCUpDown
AggregateSum
AggregateAvg
AggregateStdDev
AggregateMin
AggregateMed
AggregateMax
AggregatePercentile
AggregateFirst
AggregateLast
AggregateCount
BoxFilter
LinearFilter
QuadraticFilter
BSplineFilter
HermiteFilter
CatromFilter
MitchellFilter
SincFilter
LanczosFilter
GaussianFilter
HanningFilter
HammingFilter
BlackmanFilter
BesselFilter
MouseUsageDefault
MouseUsageScroll
MouseUsageZoomIn
MouseUsageZoomOut
DirectionHorizontal
DirectionVertical
DirectionHorizontalVertical
setLicenseCode
getVersion
getBootLog
testFont
chartTime
chartTime2
getChartYMD
getChartWeekDay
goldColor
silverColor
metalColor
brushedGoldColor
brushedSilverColor
brushedMetalColor
glassEffect
softLighting
barLighting
cylinderEffect
PolygonShape
Polygon2Shape
StarShape
CrossShape
Cross2Shape
PolynomialRegression
StartOfHourFilter
StartOfDayFilter
StartOfWeekFilter
StartOfMonthFilter
StartOfYearFilter
RegularSpacingFilter
AllPassFilter
NonePassFilter
SelectItemFilter
Fundamental Classes
Box
setPos
setSize
setBackground
setRoundedCorners
getLeftX
getTopY
getWidth
getHeight
getImageCoor
setZOrder
TextBox
setText
setFontStyle
setFontSize
setFontAngle
setFontColor
setAlignment
setWidth
setHeight
setMaxWidth
setTruncate
setMargin
setMargin2
CDMLTable
setPos
setText
setCell
insertCol
appendCol
getColCount
insertRow
appendRow
getRowCount
getCell
getColStyle
getRowStyle
getStyle
layout
getColWidth
getRowHeight
getWidth
getHeight
setZOrder
Line
setPos
setColor
setWidth
setZOrder
General Charts
BaseChart
setSize
getWidth
getHeight
setBackground
setRoundedFrame
setDropShadow
setBorder
setWallpaper
setBgImage
setSearchPath
setTransparentColor
setAntiAlias
addTitle
addTitle2
addLegend
addLegend2
getLegend
layoutLegend
getDrawArea
addText
addTable
addLine
addExtraField
addExtraField2
setColor
setColors
setColors2
getColor
adjustBrightness
halfColor
dashLineColor
patternColor
patternColor2
linearGradientColor
linearGradientColor2
radialGradientColor
radialGradientColor2
gradientColor
gradientColor2
setDefaultFonts
setFontTable
formatValue
setNumberFormat
setMonthNames
setWeekDayNames
setAMPM
layout
setAMPM
enableVectorOutput
makeChart
makeChart2
makeChart3
makeSession
getHTMLImageMap
getChartMetrics
MultiChart
MultiChart
addChart
setMainChart
LegendBox
addKey
addKey2
setCols
setReverse
setText
setKeySize
setKeySpacing
setKeyBorder
setLineStyleKey
getImageCoor2
getHTMLImageMap
Pie Charts Related
PieChart
PieChart
setPieSize
setDonutSize
set3D
set3D2
setStartAngle
setExplode
setExplodeGroup
setLabelStyle
setLabelFormat
setLabelLayout
setLabelPos
setJoinLine
setLineColor
setSectorStyle
setData
getSector
Sector
setExplode
setLabelStyle
setLabelFormat
setLabelLayout
setLabelPos
setJoinLine
setColor
setStyle
getImageCoor
getLabelCoor
XY Charts Related
XYChart
XYChart
yAxis
yAxis2
syncYAxis
setYAxisOnRight
xAxis
xAxis2
setXAxisOnTop
setAxisAtOrigin
addAxis
swapXY
setPlotArea
getPlotArea
packPlotArea
setClipping
setTrimData
addBarLayer
addBarLayer2
addBarLayer3
addLineLayer
addLineLayer2
addSplineLayer
addStepLineLayer
addTrendLayer
addTrendLayer2
addInterLineLayer
addScatterLayer
addAreaLayer
addAreaLayer2
addBoxWhiskerLayer
addBoxWhiskerLayer2
addBoxLayer
addVectorLayer
addHLOCLayer
addHLOCLayer2
addHLOCLayer3
addCandleStickLayer
addContourLayer
layoutAxes
getXCoor
getYCoor
xZoneColor
yZoneColor
PlotArea
setBackground
setBackground2
setAltBgColor
set4QBgColor
setGridColor
setGridWidth
setGridAxis
moveGridBefore
getLeftX
getTopY
getWidth
getHeight
Axis
setLabelStyle
setLabelFormat
setMultiFormat
setMultiFormat2
setFormatCondition
setLabelGap
setLabelOffset
setTitle
setTitlePos
setColors
setTickLength
setTickLength2
setTickWidth
setTickColor
setTickOffset
setMinTickInc
setWidth
setLength
setMargin
setIndent
setOffset
setAutoScale
setRounding
setTickDensity
setReverse
setLabels
setLabels2
setLabelStep
setLinearScale
setLinearScale2
setLinearScale3
setLogScale
setLogScale2
setLogScale3
setDateScale
setDateScale2
setDateScale3
syncAxis
copyAxis
addLabel
addMark
addZone
makeLabelTable
getLabelTable
getMinValue
getMaxValue
getThickness
getTicks
getLabel
getHTMLImageMap
getAxisImageMap
ColorAxis
setAxisPos
setColorGradient
setLevels
setCompactAxis
setAxisBorder
setBoundingBox
setBoxMargin
setBoxMargin2
setRoundedCorners
getBoxWidth
getBoxHeight
getColor
Mark
setValue
setMarkColor
setLineWidth
setDrawOnTop
getLine
Layer
set3D
setLineWidth
setBorderColor
setLegendOrder
setLegend
getLegendIcon
setDataCombineMethod
addDataSet
getDataSet
addDataGroup
addExtraField
addExtraField2
setUseYAxis
setUseYAxis2
setXData
setXData2
setBaseLine
alignLayer
getXCoor
getYCoor
xZoneColor
yZoneColor
setDataLabelStyle
setDataLabelFormat
addCustomDataLabel
setAggregateLabelStyle
setAggregateLabelFormat
addCustomAggregateLabel
addCustomGroupLabel
moveFront
moveBack
getImageCoor
getImageCoor2
getHTMLImageMap
setHTMLImageMap
BarLayer
setBarGap
setBarWidth
setOverlapRatio
setBarShape
setBarShape2
setMinLabelSize
setMinImageMapSize
setIconSize
LineLayer
setSymbolScale
setGapColor
setImageMapWidth
getLine
SplineLayer
setMonotonicity
setTension
StepLineLayer
setAlignment
TrendLayer
setRegressionType
addConfidenceBand
addPredictionBand
getSlope
getIntercept
getCorrelation
getStdError
getCoefficient
setImageMapWidth
getLine
InterLineLayer
setGapColor
ScatterLayer
AreaLayer
setGapColor
setMinLabelSize
BaseBoxLayer
setDataGap
setDataWidth
setMinImageMapSize
HLOCLayer
setColorMethod
CandleStickLayer
BoxWhiskerLayer
setBoxColor
setBoxColors
setWhiskerBrightness
VectorLayer
setVector
setArrowHead
setArrowHead2
setArrowStem
setArrowAlignment
setVectorMargin
setIconSize
ContourLayer
setZData
setColorAxis
colorAxis
setSmoothInterpolation
setContourColor
setContourWidth
DataSet
setDataName
setDataColor
setDataSymbol
setDataSymbol2
setDataSymbol3
setDataSymbol4
setLineWidth
setDataLabelStyle
setDataLabelFormat
setUseYAxis
setUseYAxis2
Surface Charts Related
SurfaceChart
SurfaceChart
setPlotRegion
setData
setInterpolation
setViewAngle
setPerspective
setShadingMode
setLighting
setBackSideBrightness
setBackSideLighting
setBackSideColor
setSurfaceAxisGrid
setSurfaceDataGrid
setContourColor
xAxis
yAxis
zAxis
setColorAxis
colorAxis
setWallVisibility
setWallColor
setWallThickness
setWallGrid
setZAxisPos
Polar Charts Related
PolarChart
PolarChart
setPlotArea
setPlotAreaBg
setGridColor
setGridStyle
setStartAngle
angularAxis
radialAxis
getXCoor
getYCoor
addLineLayer
addAreaLayer
addSplineLineLayer
addSplineAreaLayer
addVectorLayer
RadialAxis
AngularAxis
setLabelStyle
setLabelGap
setLabels
setLabels2
addLabel
setLinearScale
setLinearScale2
addZone
addZone2
getHTMLImageMap
getAxisImageMap
PolarLayer
setAngles
setBorderColor
setLineWidth
setDataSymbol
setDataSymbol2
setDataSymbol3
setDataSymbol4
setSymbolScale
setDataLabelStyle
setDataLabelFormat
addCustomDataLabel
setImageMapWidth
getImageCoor
getHTMLImageMap
setHTMLImageMap
PolarLineLayer
setCloseLoop
setGapColor
PolarAreaLayer
PolarSplineLineLayer
setTension
PolarSplineAreaLayer
setTension
PolarVectorLayer
setVector
setArrowHead
setArrowHead2
setArrowStem
setArrowAlignment
setVectorMargin
setIconSize
Pyramid Charts Related
PyramidChart
PyramidChart
setPyramidSize
setConeSize
setFunnelSize
setViewAngle
setPyramidSides
setCenterLabel
setRightLabel
setLeftLabel
setJoinLine
setJoinLineGap
setGradientShading
setLighting
setLayerGap
setLayerBorder
setData
getLayer
PyramidLayer
setCenterLabel
setRightLabel
setLeftLabel
setJoinLine
setJoinLineGap
setColor
setLayerGap
setLayerBorder
Meters and Gauges
BaseMeter
setScale
setScale2
setScale3
addPointer
setLabelStyle
setLabelFormat
setLabelPos
setMeterColors
setLineWidth
setTickLength
addLabel
getLabel
getCoor
getTicks
AngularMeter
AngularMeter
setMeter
addZone
addZone2
addRing
addRingSector
setCap
LinearMeter
LinearMeter
setMeter
setRail
addZone
MeterPointer
setPos
setColor
setShape
setShape2
setZOrder
Finance Charts Related
FinanceChart
FinanceChart
enableAntiAlias
setMargins
addPlotAreaTitle
setPlotAreaStyle
setPlotAreaBorder
setLegendStyle
setXAxisStyle
setYAxisStyle
setAxisOnRight
setLogScale
setPercentageAxis
setDateLabelFormat
setDateLabelSpacing
setToolTipDateFormat
getToolTipDateFormat
setNumberLabelFormat
setData
addMainChart
addCandleStick
addHLOC
addCloseLine
addWeightedClose
addTypicalPrice
addMedianPrice
addComparison
addSimpleMovingAvg
addExpMovingAvg
addTriMovingAvg
addWeightedMovingAvg
addParabolicSAR
addBand
addBollingerBand
addDonchianChannel
addEnvelop
addVolBars
addIndicator
addLineIndicator
addLineIndicator2
addBarIndicator
addBarIndicator2
addThreshold
addAccDist
addAroon
addAroonOsc
addADX
addATR
addBollingerWidth
addCCI
addChaikinMoneyFlow
addChaikinOscillator
addChaikinVolatility
addCLV
addDPO
addDonchianWidth
addEaseOfMovement
addFastStochastic
addMACD
addMassIndex
addMFI
addMomentum
addNVI
addOBV
addPerformance
addPPO
addPVI
addPVO
addPVT
addROC
addRSI
addSlowStochastic
addStdDev
addStochRSI
addTRIX
addUltimateOscillator
addVolIndicator
addWilliamR
Graphics Primitives
DrawArea
DrawArea
setSize
resize
getWidth
getHeight
setClipRect
setBgColor
move
rotate
hFlip
vFlip
cloneTo
pixel
getPixel
line
hline
vline
arc
rect
polygon
surface
sector
cylinder
circle
fill
fill2
text
text2
text3
text4
setDefaultFonts
setFontTable
merge
tile
setSearchPath
load
loadPNG
loadGIF
loadJPG
loadWMP
rAffineTransform
affineTransform
sphereTransform
hCylinderTransform
vCylinderTransform
hTriangleTransform
vTriangleTransform
shearTransform
waveTransform
enableVectorOutput
out
outPNG
outPNG2
outGIF
outGIF2
outJPG
outJPG2
outBMP
outBMP2
outWMP
outWMP2
outSVG
outSVG2
setPaletteMode
setDitherMethod
setTransparentColor
setAntiAlias
setInterlace
setColorTable
getARGBColor
adjustBrightness
halfColor
dashLineColor
patternColor
patternColor2
linearGradientColor
linearGradientColor2
radialGradientColor
radialGradientColor2
gradientColor
gradientColor2
reduceColors
TTFText
getWidth
getHeight
getLineHeight
getLineDistance
draw
Utility Classes
ArrayMath
ArrayMath
add
add2
sub
sub2
mul
mul2
div
div2
financeDiv
shift
delta
rate
abs
acc
selectGTZ
selectGEZ
selectLTZ
selectLEZ
selectEQZ
selectNEZ
selectStartOfHour
selectStartOfDay
selectStartOfWeek
selectStartOfMonth
selectStartOfYear
selectRegularSpacing
trim
insert
insert2
replace
movAvg
expAvg
movMed
movPercentile
movMax
movMin
movStdDev
movCorr
lowess
lowess2
result
sum
max
min
avg
med
percentile
stdDev
maxIndex
minIndex
aggregate
RanTable
RanTable
setCol
setCol2
setDateCol
setHLOCCols
selectDate
getCol
FinanceSimulator
FinanceSimulator
getTimeStamps
getHighData
getLowData
getOpenData
getCloseData
getVolData
Controls
WebChartViewer
WebChartViewer
getId
setImageUrl
getImageUrl
setImageMap
getImageMap
setChartMetrics
getChartMetrics
makeDelayedMap
renderHTML
partialUpdateChart
isPartialUpdateRequest
isFullUpdateRequest
isStreamRequest
isViewPortChangedEvent
getSenderClientId
setViewPortLeft
getViewPortLeft
setViewPortTop
getViewPortTop
setViewPortWidth
getViewPortWidth
setViewPortHeight
getViewPortHeight
setMouseUsage
getMouseUsage
setZoomDirection
getZoomDirection
setScrollDirection
getScrollDirection
setZoomInRatio
getZoomInRatio
setZoomOutRatio
getZoomOutRatio
setZoomInWidthLimit
getZoomInWidthLimit
setZoomOutWidthLimit
getZoomOutWidthLimit
setZoomInHeightLimit
getZoomInHeightLimit
setZoomOutHeightLimit
getZoomOutHeightLimit
setMinimumDrag
getMinimumDrag
setSelectionBorderWidth
getSelectionBorderWidth
setSelectionBorderColor
getSelectionBorderColor
setZoomInCursor
getZoomInCursor
setZoomOutCursor
getZoomOutCursor
setNoZoomCursor
getNoZoomCursor
setScrollCursor
getScrollCursor
setCustomAttr
getCustomAttr
JsChartViewer
get
getId
setViewPortLeft
getViewPortLeft
setViewPortTop
getViewPortTop
setViewPortWidth
getViewPortWidth
setViewPortHeight
getViewPortHeight
setMouseUsage
getMouseUsage
setZoomDirection
getZoomDirection
setScrollDirection
getScrollDirection
setZoomInRatio
getZoomInRatio
setZoomOutRatio
getZoomOutRatio
setZoomInWidthLimit
getZoomInWidthLimit
setZoomOutWidthLimit
getZoomOutWidthLimit
setZoomInHeightLimit
getZoomInHeightLimit
setZoomOutHeightLimit
getZoomOutHeightLimit
setMinimumDrag
getMinimumDrag
setSelectionBorderWidth
getSelectionBorderWidth
setSelectionBorderColor
getSelectionBorderColor
setZoomInCursor
getZoomInCursor
setZoomOutCursor
getZoomOutCursor
setNoZoomCursor
getNoZoomCursor
setScrollCursor
getScrollCursor
setCustomAttr
getCustomAttr
canSupportPartialUpdate
partialUpdate
streamUpdate
attachHandler
detachHandler
applyHandlers
ViewPortChanged
UpdateError
PreUpdate
PostUpdate
updatingMsg
serverErrorMsg
msgContainer
okButton
xButton
Data Types
Color Specification
Font Specification
Shape Specification
Alignment Specification
Date/Time Specification
No Value Specification
Re-sampling Filters
ChartDirector Mark Up Lauguage
Parameter Substitution and Formatting
Internationalization