Yii Framework Forum: Googlechart - Color - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Googlechart - Color Change color Rate Topic: -----

#1 User is offline   Sergio Araujo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 29-May 14

Posted 29 May 2014 - 07:56 AM

I'm using googlechart "http://www.yiiframework.com/extension/googlechart/" extension, but i don't know how can change the colors on charts. Is it possible?

Can you help me, in this issue?

Kind regards,
Sérgio Araújo
0

#2 User is offline   afnwork 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 09-May 12

Posted 05 June 2014 - 09:12 AM

$this->widget('ext.HzlVisualizationChart', array(
...
  'options' => array(
    'title' => 'My Daily Activity',
    'colors' => array('#e0440e', '#e6693e', '#ec8f6e', '#f3b49f', '#f6c7b6','#fafafa'), // <--
  )
));

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users