• Hi, I saw your guide on how to change the colours and highlights here: https://www.ads-software.com/support/topic/colours/

    This has helped, though I am unable to give each individual line in the graph the same highlight colour as the base colour. I have tried the same method to change the base colour but the highlight only became that of the first colour. This is what I had input:

    `add_filter( ‘easy_charts_get_chart_configurations’, ‘easy_charts_get_chart_configurations_callback’, 10, 3 );

    function easy_charts_get_chart_data_callback( $ec_chart_data, $chart_id ){
    if( $chart_id == 1234 ){

    $ec_chart_data[‘chart_configuration’][‘effects’] = array(
    ‘hovercolor’ => ‘#ffd700’,
    ‘#035d17’,
    ‘#000000’,
    );
    }

    return $ec_chart_data;
    }

    add_filter( ‘easy_charts_get_chart_data’, ‘easy_charts_get_chart_data_callback’, 10, 2 );

    I am not a coder, so help on where to change the code would be much appreciated.

    • This topic was modified 3 years, 1 month ago by emtk.
  • The topic ‘Unique Colour Highlights’ is closed to new replies.