System Functions for Charting

The following table contains the system functions EnterpriseOne created for the charting control.

System Function

Description

Draw Chart(Chart Control)

Call this system function to render a chart. Assume its DataXML is correctly populated. After calling other system functions to set chart properties, be sure to call this system function to show the new result. Otherwise, the new properties will not be shown on the form.

Set Data XML(Chart Control, data)

Call this system function to set DataXML for the chart. Runtime will automatically read graphName from DataXML and set it to GraphName on this chart. The data XML is required to be set for a chart control. Otherwise an error is displayed.

Set Graph XML(Chart Control, graphXML)

Call this system function to set customized graphXML for the chart. If this function is called, its graphXML will be used instead of graphName from the DataXML.

Set Graph Template(Chart Control, graphTemplate)

Call this system function to set graphName for the chart. Runtime will read the checked in graph.xml based on the graphName.

Set Title(Chart Control, title)

Call this system function to set the title for this chart.

Set Title Visible(Chart Control, true/false)

Call this system function to make the title visible or invisible for this chart.

Set Footnote(Chart Control, footnote)

Call this system function to set a footnote for the chart.

Set Footnote Visible(Chart Control, true/false)

Call this system function to make a footnote visible or invisible for the chart.

Set Legend Orientation(Chart Control, Orientation)

Call this system function to set the orientation for this chart. Valid values for Orientation are <Vertical> or <Horizontal>.

Set Legend Position(Chart Control, position)

Call this system function to set the position for the chart. Valid values for Position are <Top>,<Left>,<Right>, or <Bottom>.

Set Legend Visible(Chart Control, true/false)

Call this system function to make the legend visible or invisible for the chart.

Reset(Chart Control)

Call this system function to reset all properties, but leave DataXML,graphXML and graphName unchanged.

Get Last Chart Click Event(rowIndex, columnIndex)

Call this system function at the beginning of the "Chart is Clicked" FDA event. Tools will return the actual row and column index of the element clicked in the output ER variables. Application development can then use these ER variable values to execute any subsequent logic in the "Chart is Clicked" FDA event.

Turn Off Chart Clicked Event(Chart Control)

Call this system function to disable clickable events on this chart. The default is to have clickable events be disabled.

Turn On Chart Clicked Event(Chart Control)

Call this system function to enable clickable events on this chart. The default is to have clickable events be disabled.