jsx3.chart.LineChartAPI


Object
Object TypeThe JSX foundation class that this object is an instance of.
IDThe unique, system-assigned ID for this object.
NameSets the name assigned by the developer to identify this object.
Positioning
LeftSets the distance from left edge of bounding box in pixels.
TopSets the distance from top edge of bounding box in pixels.
WidthSets the width of the chart in implied pixels or as a percentage.
HeightSets the height of the chart in implied pixels or as a percentage.
Relative XYSets whether to place this chart relatively or absolutely with respect to its container.
LineChart
TypeSets the type of line chart.
XML/XSL
XML Cache IdSets the cache ID for the XML document this object is mapped to.
XML StringSets an XML document as a string.
XML URLSets the URL for the resource.
XML TransformersA comma-separated list of XSLT transformers.
Share ResourcesIf set to Share, this object does not delete its associated document from the cache when removed from the DOM.
XML AsyncIf set to Asynchronous and the XML data source of this control is loaded from a URL, then the data is loaded asynchronously and a loading message is displayed in this control until the data loads.
XML BindIf set to Bound this control automatically repaints every time its XML cache document changes.
Background
BG ColorSets the background color of this component.
BG AlphaSets the background alpha (opacity) of this component (0.0 - 1.0).
Border ColorSets the border color of this component.
Border WidthSets the border width of this component in pixels.
Border AlphaThe border alpha (opacity) of this component (0.0 - 1.0).
Misc. Chart
PaddingSets the white-space gap between outer edge/border of this component to its inner content.
Data Area PaddingSets the white-space gap between data area and its containing box.
Title PlacementSets the direction in which to render the title.
Legend PlacementSets the direction in which to render the legend.
Interaction
Bound MenuSets the jsxname property for the context menu instance to display on a right-click.

Object Type

Read-Only. The JSX foundation class that this object is an instance of.

ID

Read-Only. The unique, system-assigned ID for this object.
Getter: getId()

Name

Sets the name assigned by the developer to identify this object.
Getter: getName()
Setter: setName()
Property: jsxname

Left

Sets the distance from left edge of bounding box in pixels. Other units not supported.
Default Value: If absolutely positioned, the default is 0. If relatively positioned, the default is empty.
Getter: getLeft()
Setter: setLeft()
Property: jsxleft

Top

Sets the distance from top edge of bounding box in pixels. Other units not supported.
Default Value: If absolutely positioned, the default is 0. If relatively positioned, the default is empty.
Getter: getTop()
Setter: setTop()
Property: jsxtop

Width

Sets the width of the chart in implied pixels or as a percentage. For exmaple, 100 or 25%.
Getter: getWidth()
Setter: setWidth()
Property: jsxwidth

Height

Sets the height of the chart in implied pixels or as a percentage. For exmaple, 100 or 25%.
Getter: getHeight()
Setter: setHeight()
Property: jsxheight

Relative XY

Sets whether to place this chart relatively or absolutely with respect to its container.
Default Value: Relative (jsx3.gui.Block.RELATIVE)
Getter: getRelativePosition()
Setter: setRelativePosition()
Property: jsxrelativeposition
Allowed Values:

Type

Sets the type of line chart.
Default Value: overlay (jsx3.chart.LineChart.TYPE_OVERLAY)
Getter: getType()
Setter: setType()
Property: type
Allowed Values:

XML Cache Id

Sets the cache ID for the XML document this object is mapped to.
Default Value: Unique ID assigned by the system
Getter: getXMLId()
Setter: setXMLId()
Property: jsxxmlid

XML String

Sets an XML document as a string.
Getter: getXMLString()
Setter: setXMLString()
Property: jsxxml

XML URL

Sets the URL for the resource. This resource is synchronously loaded when this object is painted on-screen.
Getter: getXMLURL()
Setter: setXMLURL()
Property: jsxxmlurl

XML Transformers

A comma-separated list of XSLT transformers. The source XML will be transformed in series by each of the transformers listed here before being placed in the XML cache. Each transformer is either a URI to an XSLT file or the XML cache id of an XSLT document.
Getter: getXMLTransformers()
Setter: setXMLTransformers()
Property: jsxxmltrans

Share Resources

If set to Share, this object does not delete its associated document from the cache when removed from the DOM.
Default Value: Cleanup (jsx3.xml.Cacheable.CLEANUPRESOURCES)
Getter: getShareResources()
Setter: setShareResources()
Property: jsxshare
Allowed Values:

XML Async

If set to Asynchronous and the XML data source of this control is loaded from a URL, then the data is loaded asynchronously and a loading message is displayed in this control until the data loads.
Default Value: Synchronous (jsx3.Boolean.FALSE)
Getter: getXmlAsync()
Setter: setXmlAsync()
Property: jsxxmlasync
Allowed Values:

XML Bind

If set to Bound this control automatically repaints every time its XML cache document changes.
Default Value: Not Bound (jsx3.Boolean.FALSE)
Getter: getXmlBind()
Setter: setXmlBind()
Property: jsxxmlbind
Allowed Values:

BG Color

Sets the background color of this component. Accepts valid CSS values, such as predefined color names, RGB, or hexadecimal values. For example, red, rgb(255,0,0), or #ff0000.
Default Value: Empty
Getter: getBackgroundColor()
Setter: setBackgroundColor()
Property: jsxbgcolor

BG Alpha

Sets the background alpha (opacity) of this component (0.0 - 1.0).
Default Value: 1
Getter: getAlpha()
Setter: setAlpha()
Property: alpha

Border Color

Sets the border color of this component. Accepts valid CSS values, such as predefined color names, RGB, or hexadecimal values. For example, red, rgb(255,0,0), or #ff0000.
Default Value: No border
Getter: getBorderColor()
Setter: setBorderColor()
Property: borderColor

Border Width

Sets the border width of this component in pixels.
Default Value: 1
Getter: getBorderWidth()
Setter: setBorderWidth()
Property: borderWidth

Border Alpha

The border alpha (opacity) of this component (0.0 - 1.0).
Default Value: 1
Getter: getBorderAlpha()
Setter: setBorderAlpha()
Property: borderAlpha

Padding

Sets the white-space gap between outer edge/border of this component to its inner content. Specified as one or four pixel values (top, right, bottom, and left). For example, 5 or 8 4 8 4. CSS syntax is also supported but reduces performance.
Default Value: 0
Getter: getPadding()
Setter: setPadding()
Property: jsxpadding

Data Area Padding

Sets the white-space gap between data area and its containing box. Specified as one or four pixel values (top, right, bottom, and left). For example, 5 or 8 4 8 4.
Default Value: 0
Getter: getDataPadding()
Setter: setDataPadding()
Property: dataPadding

Title Placement

Sets the direction in which to render the title.
Default Value: top (jsx3.chart.QTOP)
Getter: getTitlePlacement()
Setter: setTitlePlacement()
Property: titlePlacement
Allowed Values:

Legend Placement

Sets the direction in which to render the legend.
Default Value: right (jsx3.chart.QRIGHT)
Getter: getLegendPlacement()
Setter: setLegendPlacement()
Property: legendPlacement
Allowed Values:

Bound Menu

Sets the jsxname property for the context menu instance to display on a right-click.
Getter: getMenu()
Setter: setMenu()
Property: jsxmenu