-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package opts | ||
|
||
import "github.com/go-echarts/go-echarts/v2/types" | ||
|
||
type RadarChart struct { | ||
// ColorBy The policy to take color from option.color. Valid values: | ||
// 'series': assigns the colors in the palette by series, so that all data in the same series are in the same color; | ||
// 'data': assigns colors in the palette according to data items, with each data item using a different color. | ||
ColorBy string | ||
|
||
// RadarIndex Index of radar component that radar chart uses. | ||
RadarIndex int | ||
// Icon types provided by ECharts includes | ||
// 'circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow', 'none' | ||
// Full documentation: https://echarts.apache.org/en/option.html#series-line.symbol | ||
Symbol string | ||
|
||
// symbol size. It can be set to single numbers like 10, or use an array to represent width and height. For example, [20, 10] means symbol width is 20, and height is10. | ||
// Full documentation: https://echarts.apache.org/en/option.html#series-line.symbolSize | ||
SymbolSize interface{} | ||
|
||
// SymbolKeepAspect is whether to keep aspect for symbols in the form of path://. | ||
SymbolKeepAspect types.Bool | ||
} |