Add warning that setting ClassName
will drop all other inline styles
This commit is contained in:
parent
0739404bd6
commit
9529f9cfe2
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ func inlineSVGWithClasses(res http.ResponseWriter, req *http.Request) {
|
|||
"<body>"))
|
||||
|
||||
pie := chart.PieChart{
|
||||
// Note that setting ClassName will cause all other inline styles to be dropped!
|
||||
Background: chart.Style{ClassName: "background"},
|
||||
Canvas: chart.Style{
|
||||
ClassName: "canvas",
|
||||
|
|
Loading…
Reference in a new issue