%ZEN.SVGComponent.lineChart
deprecated class %ZEN.SVGComponent.lineChart extends %ZEN.SVGComponent.chart
This is an SVG chart component that displays a line chart.This chart displays one or more data series as a set of lines.
If there are multiple data series, the lines are either superimposed or or stacked atop one another, as specified by the chartStacked property.
You can use the chartFilled property to specify that the area under the lines should be filled, turning this into an area chart.
You can view pivot the chart using the chartPivot property.
Property Inventory
Method Inventory
- getChartElementStyle()
- getXAxisType()
- getYAxisType()
- hasMultiples()
- isTimeBased()
- renderSeries()
- setProperty()
- useSumForRange()
Parameters
parameter DEFAULTPLOTTOEDGE = 1;
Default value for plotToEdge property.
Properties
property chartFilled as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Specifies whether the area under the line is filled (as
in an area chart) or not filled (as in a line chart).
Property methods: chartFilledDisplayToLogical(), chartFilledGet(), chartFilledIsValid(), chartFilledLogicalToDisplay(), chartFilledLogicalToOdbc(), chartFilledLogicalToXSD(), chartFilledNormalize(), chartFilledSet(), chartFilledXSDToLogical()
property chartPivot as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, pivot this chart: display categories vertically
and values horizontally.
Property methods: chartPivotDisplayToLogical(), chartPivotGet(), chartPivotIsValid(), chartPivotLogicalToDisplay(), chartPivotLogicalToOdbc(), chartPivotLogicalToXSD(), chartPivotNormalize(), chartPivotSet(), chartPivotXSDToLogical()
property chartStacked as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, this is a stacked line chart. That is,
data series are plotted above one another.
Note that negative values are ignored in stacked charts.
Note that negative values are ignored in stacked charts.
Property methods: chartStackedDisplayToLogical(), chartStackedGet(), chartStackedIsValid(), chartStackedLogicalToDisplay(), chartStackedLogicalToOdbc(), chartStackedLogicalToXSD(), chartStackedNormalize(), chartStackedSet(), chartStackedXSDToLogical()
Methods
clientmethod getChartElementStyle(series, item) [ Language = javascript ]
Return default style for a line element.
clientmethod getXAxisType() [ Language = javascript ]
Return the type of x axis (category or value) used by
this chart.
clientmethod getYAxisType() [ Language = javascript ]
Return the type of y axis (category or value) used by
this chart.
clientmethod hasMultiples() [ Language = javascript ]
Indicates that this chart supports "show multiples" mode.
clientmethod isTimeBased() [ Language = javascript ]
Test if a time-based x axis should be used.
This is overridden in subclasses.
clientmethod renderSeries(group) [ Language = javascript ]
Draw data series for this chart.
group is the SVG container for the chart components.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod useSumForRange() [ Language = javascript ]
This method returns true if data series should be summed
when calculating data range for the chart.
Inherited Members
Inherited Properties
- %condition
- %controller
- %import
- %includeFiles
- %page
- %resource
- appearance
- autoScaleText
- aux
- axisLineStyle
- axisTitleStyle
- backgroundStyle
- bandLower
- bandLowerStyle
- bandUpper
- bandUpperStyle
- baseLineStyle
- borderOffset
- borderRadius
- borderStyle
- boundless
- composite
- controller
- controllerId
- currYAxis
- document
- endTime
- gridStyle
- hasZoom
- height
- hidden
- id
- index
- indicatorStyle
- indicatorsVisible
- labelStyle
- labelsVisible
- legendHeight
- legendLabelStyle
- legendRectStyle
- legendStyle
- legendTitle
- legendVisible
- legendWidth
- legendX
- legendY
- lineStyle
- marginBottom
- marginLeft
- marginRight
- marginTop
- markerScale
- markerShapes
- markerStyle
- markersVisible
- maxLabelLen
- msgIfNoData
- multipleTitleStyle
- name
- noDataFill
- noDataOpacity
- noDataStroke
- onclick
- onelementClick
- ongetData
- ongetLabelX
- ongetLabelY
- ongetSeriesColor
- ongetTimeEvents
- 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
- startTime
- stripeStyle
- stripesVisible
- subtitle
- subtitleStyle
- svgComponent
- svgGroup
- textSize
- timeBased
- title
- titleAlign
- titleBoxStyle
- titleImage
- titleImageStyle
- titleStyle
- titleX
- titleY
- tooltipRectStyle
- tuple
- unselectedItemStyle
- valueBoxStyle
- valueLabelFormat
- valueLabelStyle
- valueLabelsVisible
- viewBoxHeight
- viewBoxWidth
- visible
- warnIfNoData
- width
- window
- x
- xAxis
- y
- yAxis
- yAxisList
Inherited Methods
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawHTML()
- %DrawJSStrings()
- %Eval()
- %EvalC()
- %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()
- adjustChartTitle()
- beginWaitState()
- calculateAxisConstraints()
- calculateViewBox()
- calculateXAxisHeight()
- calculateXAxisTitleHeight()
- calculateYAxisWidth()
- chartElementClickHandler()
- clickHandler()
- computeEffectiveExtents()
- computeStyle()
- computeXAxisTimeLine()
- createMarker()
- createSVGTextNode()
- createXLabelNode()
- embedStyle()
- endWaitState()
- findElement()
- findSVGElement()
- fireOnUpdateEvent()
- formatNumeric()
- getChartElement()
- getChartRelatedElements()
- getChartSubtitle()
- getChartTitle()
- getColorSchemeArray()
- getComputedFontSize()
- getController()
- getCurrYAxis()
- getEndTime()
- getFrame()
- getLegendLabels()
- getLegendRectStyle()
- getLegendsCount()
- getMarkerShape()
- getNumericAbbreviation()
- getPelToPixelHRatio()
- getPelToPixelVRatio()
- getPlotX()
- getPlotY()
- getProperty()
- getRangeGroupForSeries()
- getRelatedElementStyle()
- getSelectedItem()
- getSelectedSeries()
- getSelectedStyle()
- getSeriesColor()
- getSeriesCount()
- getSeriesData()
- getSeriesNames()
- getSeriesNamesSize()
- getSeriesSVGGroup()
- getSeriesSize()
- getSeriesType()
- getSettings()
- getSizeAbsolute()
- getStartTime()
- getTimeX()
- getType()
- getXAxis()
- getXAxisTitle()
- getXLabelText()
- getYAxis()
- getYAxisCount()
- getYAxisIndexForSeries()
- getYAxisTitle()
- getYLabelText()
- hasAxes()
- hasSelectedItem()
- initializeAxisProperties()
- integrateStyleSpec()
- invokeSuper()
- is3D()
- isOfType()
- makeId()
- notifyViewHandler()
- onCreate()
- onDelete()
- onSerialize()
- onloadHandler()
- onunloadHandler()
- onupdateHandler()
- parseStyleSVG()
- pickVerticalSkips()
- plotLineForSeries()
- prepareAxisGroup()
- refreshContents()
- removeChildNodes()
- removeNoDataMsg()
- render()
- renderAxes()
- renderBands()
- renderContents()
- renderLegend()
- renderPlotArea()
- renderSVG()
- renderSeriesGroup()
- renderTimeEvents()
- renderTitle()
- renderXAxisTimeLine()
- renderXAxisTitle()
- renderXLabels()
- renderYAxisTitle()
- renderYLabels()
- selectElement()
- sendEventToController()
- setControllerId()
- setCurrYAxis()
- setDimToolTip()
- setOverlayMode()
- setPosition()
- setPositionHandler()
- setSeeThrough()
- setSize()
- setSizeHandler()
- setTextNode()
- setTimeRange()
- setXAxis()
- setYAxis()
- showNoDataMsg()
- sizingMouseDownHandler()
- stripWhitespace()
- unrender()
- updateChart()
- updateIndicator()
- usePercentForRange()
- wrapMethod()
- xToLogical()
- yToLogical()