Forum


Replies: 4   Views: 101
Custom position to the title in doughnut chart

Posted by anushkapachpute  · 11-12-2024 - 10:14

Okay. Can we add the values next to the points in the legend below the doughnut chart?

$data = array(

    'data' => array(

        array(

            'name' => 'Equity',

            'values' => array(67.17),

        ),

        array(

            'name' => 'Mutual Fund Units',

            'values' => array(11.17),

        ),

        array(

            'name' => 'G-Sec, G-Sec STRIPS, SDL',

            'values' => array(7.39),

        ),

        array(

            'name' => 'Credit Exposure',

            'values' => array(6.32),

        ),

        array(

            'name' => 'Cash, Cash Equivalents and Net Current Assets',

            'values' => array(5.62),

        ),

        array(

            'name' => 'Units issued by ReIT',

            'values' => array(2.23),

        ),

        array(

            'name' => 'Units issued by InvIT',

            'values' => array(0.10),

        ),

    ),

);