Updated docs

This commit is contained in:
Andrés Santibáñez
2021-02-12 00:20:11 -05:00
parent 3abe96bdb0
commit bf644a5931
2 changed files with 9 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## 1.6.0 - 2021-02-12
- Added `init()` method for better boot and $wire hoisting
- Added color customization for columns and pie chart
## 1.5.2 - 2020-11-09
- Fixed infinite growing charts

View File

@@ -164,6 +164,8 @@ for each type of chart.
| withoutDataLabels() | Disables data labels |
| withLegend() | Shows legends |
| withoutLegend() | Hides legends |
| setColors(array $colors) | Set colors for chart |
| addColors(string $color) | Append $color to $colors set |
| setXAxisCategories(array $categories) | Enables custom categories for chart X Axis |
| sparklined() | Enables Apex Charts sparkline feature |
| setSparklineEnabled(boolean $isEnabled) | Enables/Disables Apex Charts sparkline feature |
@@ -184,6 +186,8 @@ for each type of chart.
| Method | Description |
|--------|-------------|
| setOpacity(int $opacity) | Sets columns' opacity |
| setColumnWidth(int $columnWidth) | Sets columns' width |
| setHorizontal(boolean $value) | Sets columns or bars |
| 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 |