PP.Ui.PCObject(settings);
settings. JSON object that contains values of component properties.
The PCObject constructor creates a chart item.
Executing this example requires the ParallelCoordinates component named coord (see Example of Creating the ParallelCoordinates Component). Create a new chart element and get title of the chart's first data source:
// Create an object var obj = new PP.Ui.PCObject({ Chart: coord }); // Get title of the chart's first data source console.log(Title of the chart's first data source: " + obj.getName());
After this title of the chart's first data source is displayed in the console:
Title of the chart's first data source: DataSource with custom attributes
See also: