The chart package contains classes to draw charts and for drawing primitives like circles, lines and polylines in SVG,
see bcdui.component.chart.SVGDrawer.
You can define a chart with js calls with bcdui.component.chart.Chart
as well as be providing a XML definition according to http://www.businesscode.de/schema/bcdui/charts-1.0.0 using bcdui.component.chart.XmlChart.
Classes
Methods
-
staticbcdui.component.chart.createChartLegend(args)
component/chart/chartPackage.js, line 102 -
Create a legend for the chart, listing all series
Name Type Description args
Object Paramater object Name Type Description inputModel
bcdui.core.DataProvider Input model to renderer targetHtmlElementId
string Target HTML element ID id
string optional Renderer ID chartRendererId
string optional ID of chart renderer elementStyle
string optional Style for legend HTML element Returns:
renderer that creates legend renderer