Updated README and CHANGELOG

This commit is contained in:
Andrés Santibáñez
2020-11-07 19:50:52 -05:00
parent a002d2f041
commit dbbbf8eca2
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 1.4.0 - 2020-11-07
- Added Multi Column Chart
- Added Stacked Multi Column Chart
- Added support for custom X Axis categories
## 1.3.0 - 2020-11-03
- Added Multi Line Chart

View File

@@ -138,6 +138,7 @@ for each type of chart.
| withoutDataLabels() | Disables data labels |
| withLegends() | Shows legends |
| withoutLegends() | Hides legends |
| setXAxisCategories(array $categories) | Enables custom categories for chart X Axis |
#### LivewireLineChart
@@ -155,6 +156,9 @@ for each type of chart.
| Method | Description |
|--------|-------------|
| setOpacity(int $opacity) | Sets columns' opacity |
| multiColumn() | Sets chart to display multiple column series |
| singleColumn() | Sets chart to display a single column series |
| stacked() | Sets chart to display column series stacked |
| addColumn(string $title, double $value, string $color, array $extras = []) | Adds a column to the chart with the specified color. `$extras` is forwarded on click event |
| onColumnClickEventName(string $eventName) | Event Name that will be fired when a column of the chart is clicked |