Skip to content

Commit

Permalink
Update knowledge-base/chart-custom-legend.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dimo Dimov <[email protected]>
  • Loading branch information
2 people authored and NansiYancheva committed Feb 19, 2024
1 parent 5f6b9a0 commit 867fdd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion knowledge-base/chart-custom-legend.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ This knowledge base article answers the following questions:

## Solution

Change the Chart Legend design with HTML/CSS. You need to:
To use a custom Chart legend, you need to:

1. Disable the built-in legend with `<ChartLegend Visible="false" />`
1. Define specific colors for the Chart series or data points [through `Color` or `ColorField`]({%slug components/chart/types/column%}).
1. Implement the custom legend UI outside the Chart.
Expand Down

0 comments on commit 867fdd1

Please sign in to comment.