• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/view.php
  • Класс: BitrixReportVisualConstructorView
  • Вызов: View::getReportDefaultColor
public function getReportDefaultColor($num)
{
	$defaultColorList = array(
		"#00c4fb",
		"#75d900",
		"#ffab00",
		"#47d1e2",
		"#ff5752",
		"#468ee5",
		"#1eae43",
		"#f7d622",
		"#4fc3f7",
		'#9dcf00',
		'#f6ce00'
	);
	return $defaultColorList[$num % count($defaultColorList)];
}