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 argsObject Paramater object Name Type Description inputModelbcdui.core.DataProvider Input model to renderer targetHtmlElementIdstring Target HTML element ID idstring optional Renderer ID chartRendererIdstring optional ID of chart renderer elementStylestring optional Style for legend HTML element Returns:
renderer that creates legend renderer