docs: update documents
This commit is contained in:
parent
92458aece2
commit
706896737b
18 changed files with 83 additions and 18 deletions
|
|
@ -35,11 +35,14 @@ const defaultStrokeWidth = 2.0
|
|||
var defaultChartWidth = 600
|
||||
var defaultChartHeight = 400
|
||||
|
||||
// SetDefaultWidth sets default width of chart
|
||||
func SetDefaultWidth(width int) {
|
||||
if width > 0 {
|
||||
defaultChartWidth = width
|
||||
}
|
||||
}
|
||||
|
||||
// SetDefaultHeight sets default height of chart
|
||||
func SetDefaultHeight(height int) {
|
||||
if height > 0 {
|
||||
defaultChartHeight = height
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue