Skip to content

Commit 88a04d0

Browse files
authored
Basic Styling: logo as a chart background. (ChartsCSS#41)
1 parent 1f040bd commit 88a04d0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/customization/basic-styling.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,17 @@ To control the backgrounds of different elements, use one of the following selec
104104
}
105105
```
106106

107+
Display your brand logo as a column chart background.
108+
109+
```css
110+
#my-chart .column tbody {
111+
background-image: url(path/to/your/logo.svg);
112+
background-repeat: no-repeat;
113+
background-position: center center;
114+
background-size: 100px 100px;
115+
}
116+
```
117+
107118
### Aspect Ratio
108119

109120
To control the chart width/height ratio, use one of the following selectors.

0 commit comments

Comments
 (0)