Add customized color sets

Create following file custom/modules/KReports/config/KReportColors.php

and fill in with your own color sets:

<?php
if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

$kreportColors['duo'] = array(
    'name' => 'red-green banker',
    'colors' => array(
        '#FF0000',
        '#009900',
    )
);

$kreportColors['redshades'] = array(
    'name' => 'Shades of red',
    'colors' => array(
        '#FF0000',
        '#C00000',
        '#900000',
        '#600000',
        '#300000',
        '#000000'
    )
);

Avoid special chars in key name for $kreportColors

Feel free to name the color set as you like.

results matching ""

    No results matching ""