DocBook|Search
Class Reference
%ZEN.SVGComponent.xyChart
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [SVGComponent] >  [xyChart]
Private  Storage  

class %ZEN.SVGComponent.xyChart extends chart

This is an SVG chart component that displays an X-Y chart.
This chart plots two or more series of data as a series of x,y points on the chart. The first data series provides the x values, the second provides the correlated y values.
Additional data series are plotted as y values correlated to the x values provided by the first series.
The first series name is used as the name of the first series containing y-values.
You can supply more than one set of x values using the independentXSeries property.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2 6


Summary

Properties
%condition %controller %import %includeFiles
%page %resource appearance autoScaleText
aux axisLineStyle axisTitleStyle backgroundStyle
bandLower bandLowerStyle bandUpper bandUpperStyle
borderRadius borderStyle boundless chartPivot
composite controller controllerId currYAxis
document gridStyle hasZoom height
hidden id independentXSeries index
labelStyle labelsVisible legendHeight legendLabelStyle
legendStyle legendTitle legendVisible legendWidth
legendX legendY marginBottom marginLeft
marginRight marginTop markerScale markerShapes
markerStyle markersVisible multipleTitleStyle name
onclick onelementClick ongetData ongetLabelX
ongetLabelY onnotifyView onrenderData onrenderPlotArea
onshowTooltip onupdate parent plotAreaStyle
plotEdgeStyle plotStyle plotToEdge position
preserveAspectRatio scrollButtonStyle selectedItem selectedItemStyle
selectedSeries seriesColorScheme seriesColors seriesColorsOverride
seriesCount seriesNames seriesNumber seriesSize
seriesYAxes showMultiples stripeStyle stripesVisible
svgComponent svgGroup textSize title
titleBoxStyle titleStyle titleX titleY
tuple valueLabelStyle valueLabelsVisible viewBoxHeight
viewBoxWidth visible width window
x xAxis y yAxis
yAxisList

Methods
%%OIDGet %AddToSaveSet %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawHTML %DrawJSStrings
%Eval %Extends %ForceClientRender %GetEventHandlers
%GetParameter %GetXMLName %IsA %IsModified
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawObjectProperties %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveFromSaveSet %Self %SerializeObject
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType addCommas adjustChartTitle
beginWaitState calculateAxisConstraints calculateViewBox calculateXAxisHeight
calculateXAxisTitleHeight calculateYAxisWidth chartElementClickHandler clickHandler
computeEffectiveExtents computeStyle createMarker createSVGTextNode
createXLabelNode embedStyle endWaitState findDataRange
findElement findSVGElement fireOnUpdateEvent getChartElement
getChartElementStyle getChartRelatedElements getChartTitle getColorSchemeArray
getComputedFontSize getController getFrame getLegendLabels
getMarkerShape getNumericAbbreviation getPelToPixelHRatio getPelToPixelVRatio
getPlotX getPlotY getProperty getRangeGroupForSeries
getSelectedItem getSelectedSeries getSeriesColor getSeriesCount
getSeriesData getSeriesNames getSeriesSVGGroup getSeriesSize
getSeriesType getSettings getSizeAbsolute getType
getXAxis getXAxisTitle getXAxisType getXLabelText
getYAxis getYAxisCount getYAxisIndexForSeries getYAxisTitle
getYAxisType getYLabelText hasAxes hasMultiples
initializeAxisProperties integrateStyleSpec invokeSuper is3D
isOfType makeId notifyViewHandler onCreate
onDelete onSerialize onloadHandler onunloadHandler
onupdateHandler pickVerticalSkips plotLineForSeries prepareAxisGroup
refreshContents removeChildNodes render renderAxes
renderBands renderContents renderLegend renderPlotArea
renderSVG renderSeries renderSeriesGroup renderTitle
renderXAxisTitle renderXLabels renderYAxisTitle renderYLabels
selectElement sendEventToController setControllerId setCurrYAxis
setOverlayMode setPosition setPositionHandler setProperty
setSize setSizeHandler setTextNode setXAxis
setYAxis sizingMouseDownHandler stripWhitespace unrender
updateChart usePercentForRange useSumForRange wrapMethod

Subclasses
%ZEN.SVGComponent.xyFitChart

Parameters

• parameter DEFAULTMARKERSVISIBLE = 1;
Default value for the markersVisible property.
• parameter DEFAULTPLOTTOEDGE = 1;
Default value for plotToEdge property.

Properties

• property chartPivot as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, pivot this chart: display categories vertically and values horizontally.
• property independentXSeries as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Optional: if false (the default) the first data series is used to supply x values for the chart and all other data series provide y values.
If false, then the chart will display multiple x series. In this case, the first data series provides the first set of x values, the second data provides the first set of y values, the third data series provides the second set of x values, and so on.

Methods

• method findDataRange() [ Language = javascript ]
Internal method: return (as an object) the minimum and maximum data values for this chart. This is used for ranges that are automatically calculated.
• method getLegendLabels() [ Language = javascript ]
Return an array of labels to display within the Legend box.
For xy chart we have to skip the first series, as it contains x-values, and not a logical data series.
• method getXAxisType() [ Language = javascript ]
Return the type of x axis (category or value) used by this chart.
• method getYAxisType() [ Language = javascript ]
Return the type of y axis (category or value) used by this chart.
• method renderSeries(group) [ Language = javascript ]
Draw data series for this chart. group is the SVG container for the chart components.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.