Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Releases: jtraulle/CakeCharts

v1.1.2

23 Oct 18:00
Compare
Choose a tag to compare

Bug fixed

🐛 fix bug that prevent multi-series charts from displaying (#3)

v1.1.1

29 Jun 11:21
Compare
Choose a tag to compare

Bug fixed

🐛 fix bug that prevent single serie chart from displaying
🐛 fix bug that prevent multi-series charts from displaying if fifth parameter of serie was not specified as array

v1.1.0

29 Jun 11:33
Compare
Choose a tag to compare

Added features

➕ can pass array as fifth parameter to serie array to specify styling options for bar charts
         🌎 refer to Colored and Styled Bar Chart [⧉ plot.ly reference] for possible options


Example

<?php

$fruits = ['Apples', 'Tomatoes', 'Bananas', 'Cherries'];
$ripes = [38, 22, 55, 96];
$unripes = [11, 15, 22, 10];
$series = [
    [$fruits, $ripes, 'Ripes', null, ['color' => '66CC66']], 
    [$fruits, $unripes, 'Unripes', null, ['color' => 'FF9999']]
];

echo $this->DrawChart->stackedBarChart($series);

v1.0.0

29 Jun 11:22
Compare
Choose a tag to compare

Initial release