NameColumn: PP.Ui.RatingChartColumn;
The NameColumn property determines a column with data series names.
Use JSON or the setNameColumn method to set the property value and the getNameColumn method to get the property value.
Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Get distance to the left border of the name column, hide name column header of rating chart data series:
// Get data series name column header nameColumn = ratingChart.getNameColumn(); // Display distance from the chart left border to the left column border console.log("Distance to the left name column border: " + nameColumn.getLeft()) // Hide column header nameColumn.setIsHeaderVisible(false);
After executing the example the console displays distance from the left chart border to the left border of data series name column. Name column header will be hidden.
See also: