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
Pie with Small Sectors
Circular Label Layout
Pie Chart with Legend
Icon Pie Chart
Icon Pie Chart (2)
Multi-Pie Chart
Donut Chart
Icon Donut Chart
Texture Donut Chart
Concentric Donut Chart
Text Styles and Colors
Coloring and Wallpaper
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
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
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
Pareto Chart
Bar Gap
Line Charts
Simple Line Chart
Compact Line Chart
3D Line Chart
Multi-Line Chart
Symbol Line Chart
Symbol Line Chart (2)
Spline Line Chart
Step Line Chart
Line Comparison
Line with Error Symbols
Multi-Symbol Line Chart
Custom Symbols
Rotated Line Chart
Arbitrary XY Line Chart
Discontinuous Lines
Trending and Curve Fitting
Trend Line Chart
Scatter Trend Chart
Confidence Band
General Curve Fitting
Scatter/Bubble/Vector Charts
Scatter Chart
Built-In Symbols
Custom Scatter Symbols
Custom Scatter Labels
Bubble Chart
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
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
Text Styles and Colors (2)
Background and Wallpaper
Log Scale Axis
Y-Axis Scaling
Tick Density
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
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
DiamondPointer
TriangularPointer
ArrowPointer
ArrowPointer2
LinePointer
PencilPointer
PNG
GIF
JPG
BMP
WMP
NoAntiAlias
AntiAlias
AutoAntiAlias
TryPalette
ForcePalette
NoPalette
Quantize
OrderedDither
ErrorDiffusion
SideLayout
CircleLayout
Side
Stack
Overlay
Percentage
LogTick
MinorTickOnly
MicroTickOnly
PixelScale
XAxisScale
YAxisScale
AngularAxisScale
RadialAxisScale
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
glassEffect
softLighting
PolygonShape
Polygon2Shape
StarShape
CrossShape
Cross2Shape
StartOfHourFilter
StartOfDayFilter
StartOfWeekFilter
StartOfMonthFilter
StartOfYearFilter
RegularSpacingFilter
AllPassFilter
NonePassFilter
SelectItemFilter
Fundamental Classes
Box
setPos
setSize
setBackground
setRoundedCorners
getWidth
getHeight
getImageCoor
setZOrder
TextBox
setText
setFontStyle
setFontSize
setFontAngle
setFontColor
setAlignment
setWidth
setHeight
setMaxWidth
setTruncate
setMargin
setMargin2
Line
setPos
setColor
setWidth
setZOrder
General Charts
BaseChart
setSize
setBackground
setRoundedFrame
setBorder
setWallpaper
setBgImage
setSearchPath
setTransparentColor
setAntiAlias
addTitle
addTitle2
addLegend
addLegend2
getLegend
layoutLegend
getDrawArea
addText
addLine
addExtraField
addExtraField2
setColor
setColors
setColors2
getColor
halfColor
dashLineColor
patternColor
patternColor2
linearGradientColor
linearGradientColor2
radialGradientColor
radialGradientColor2
gradientColor
gradientColor2
setDefaultFonts
setFontTable
formatValue
setNumberFormat
setMonthNames
setWeekDayNames
setAMPM
layout
setAMPM
makeChart
makeChart2
makeChart3
makeSession
getHTMLImageMap
getChartMetrics
MultiChart
MultiChart
addChart
setMainChart
LegendBox
addKey
addKey2
setCols
setReverse
setText
setKeySize
setKeySpacing
setKeyBorder
getImageCoor2
getHTMLImageMap
Pie Charts Related
PieChart
PieChart
setPieSize
setDonutSize
set3D
set3D2
setStartAngle
setExplode
setExplodeGroup
setLabelStyle
setLabelFormat
setLabelLayout
setLabelPos
setJoinLine
setLineColor
setData
sector
Sector
setExplode
setLabelStyle
setLabelFormat
setLabelLayout
setLabelPos
setJoinLine
setColor
getImageCoor
getLabelCoor
XY Charts Related
XYChart
XYChart
yAxis
yAxis2
syncYAxis
setYAxisOnRight
xAxis
xAxis2
setXAxisOnTop
setAxisAtOrigin
addAxis
swapXY
setPlotArea
setClipping
setTrimData
addBarLayer
addBarLayer2
addBarLayer3
addLineLayer
addLineLayer2
addSplineLayer
addStepLineLayer
addTrendLayer
addTrendLayer2
addInterLineLayer
addScatterLayer
addAreaLayer
addAreaLayer2
addBoxWhiskerLayer
addBoxWhiskerLayer2
addBoxLayer
addVectorLayer
addHLOCLayer
addHLOCLayer2
addHLOCLayer3
addCandleStickLayer
getXCoor
getYCoor
xZoneColor
yZoneColor
PlotArea
setBackground
setBackground2
setAltBgColor
set4QBgColor
setGridColor
setGridWidth
Axis
setLabelStyle
setLabelFormat
setMultiFormat
setMultiFormat2
setFormatCondition
setLabelGap
setLabelOffset
setTitle
setTitlePos
setColors
setTickLength
setTickLength2
setTickWidth
setTickColor
setTickOffset
setMinTickInc
setWidth
setMargin
setIndent
setAutoScale
setRounding
setTickDensity
setReverse
setLabels
setLabels2
setLabelStep
setLinearScale
setLinearScale2
setLinearScale3
setLogScale
setLogScale2
setLogScale3
setDateScale
setDateScale2
setDateScale3
syncAxis
copyAxis
addLabel
addMark
addZone
getMinValue
getMaxValue
getTicks
getLabel
getHTMLImageMap
getAxisImageMap
Mark
setValue
setMarkColor
setLineWidth
setDrawOnTop
getLine
Layer
set3D
setLineWidth
setBorderColor
setLegendOrder
setLegend
setDataCombineMethod
addDataSet
getDataSet
addDataGroup
addExtraField
addExtraField2
setUseYAxis
setUseYAxis2
setXData
setXData2
alignLayer
getXCoor
getYCoor
xZoneColor
yZoneColor
setDataLabelStyle
setDataLabelFormat
addCustomDataLabel
setAggregateLabelStyle
setAggregateLabelFormat
addCustomAggregateLabel
addCustomGroupLabel
getImageCoor
getImageCoor2
getHTMLImageMap
setHTMLImageMap
BarLayer
setBarGap
setBarWidth
setOverlapRatio
setBarShape
setBarShape2
setMinLabelSize
setIconSize
LineLayer
setSymbolScale
setGapColor
setImageMapWidth
getLine
SplineLayer
setTension
StepLineLayer
setAlignment
TrendLayer
addConfidenceBand
addPredictionBand
getSlope
getIntercept
getCorrelation
getStdError
setImageMapWidth
getLine
InterLineLayer
setGapColor
ScatterLayer
AreaLayer
setGapColor
setMinLabelSize
BaseBoxLayer
setDataGap
setDataWidth
HLOCLayer
setColorMethod
CandleStickLayer
BoxWhiskerLayer
setBoxColor
setBoxColors
setWhiskerBrightness
VectorLayer
setVector
setArrowHead
setArrowHead2
setArrowStem
setArrowAlignment
setIconSize
DataSet
setDataName
setDataColor
setDataSymbol
setDataSymbol2
setDataSymbol3
setDataSymbol4
setLineWidth
setDataLabelStyle
setDataLabelFormat
setUseYAxis
setUseYAxis2
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
setIconSize
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
setLegendStyle
setXAxisStyle
setYAxisStyle
setAxisOnRight
setLogScale
setDateLabelFormat
setDateLabelSpacing
setToolTipDateFormat
getToolTipDateFormat
setNumberLabelFormat
setData
addMainChart
addCandleStick
addHLOC
addCloseLine
addWeightedClose
addTypicalPrice
addMedianPrice
addSimpleMovingAvg
addExpMovingAvg
addTriMovingAvg
addWeightedMovingAvg
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
out
outPNG
outPNG2
outGIF
outGIF2
outJPG
outJPG2
outBMP
outBMP2
outWMP
outWMP2
setPaletteMode
setDitherMethod
setTransparentColor
setAntiAlias
setInterlace
setColorTable
getARGBColor
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