go-gocam-viewer-legend
Overview
The GO-CAM Viewer Legend component displays a legend for the relations used in the GO-CAM graph
display. This can be used in advanced cases where the go-gocam-viewer
component is used with
the show-legend
property set to false
, and the legend needs to be displayed separately.
Usage
Basic Usage
<go-gocam-viewer-legend></go-gocam-viewer-legend>
Shadow Parts
Part | Description |
---|---|
"header" | The header |
"section" | An individual legend entry |
"sections" | Group of legend entries |
CSS Custom Properties
Name | Description |
---|---|
--border-color | Border color of the legend |
--border-width | Border width of the legend |
--header-background | Background of the header |
--header-border-color | Border color of the header |
--header-border-width | Border width of the header |
--header-color | Text color of the header |
--header-font-weight | Text font weight of the header |
--header-padding | Padding of the header |
--padding | Padding of the legend |