PP.Ui.ChartSVGLabel(settings);
settings. JSON object that contains values of component properties.
The ChartSVGLabel constructor creates an instance of the ChartSVGLabel class.
To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Create a new text label, draw it inside SVG element and change its position:
// Create a new text label of bubble chart SVG element
var svg = new PP.Ui.ChartSVGLabel({
Opacity: 1,
Left: 5,
Top: 5,
Text: "New label"
});
// Draw label inside of SVG element
svg.draw(false, bubbleChart.getChartArea().getPaperArea());
// Change label position
svg.setPosition(10, 12);
After the example execution a text label is created and drawn, next its position is changed:

See also: