Creating EcSunburst.
This commit is contained in:
parent
9d5c06928c
commit
950da1e35e
14
Apps/EchartsPharo/EcSunburst.class.st
Normal file
14
Apps/EchartsPharo/EcSunburst.class.st
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Class {
|
||||||
|
#name : #EcSunburst,
|
||||||
|
#superclass : #Object,
|
||||||
|
#instVars : [
|
||||||
|
'segments'
|
||||||
|
],
|
||||||
|
#category : #'EchartsPharo-EchartsPharo'
|
||||||
|
}
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
EcSunburst >> segments: aEcSunburstSegment [
|
||||||
|
|
||||||
|
segments := aEcSunburstSegment
|
||||||
|
]
|
35
Apps/EchartsPharo/EcSunburstSegment.class.st
Normal file
35
Apps/EchartsPharo/EcSunburstSegment.class.st
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Class {
|
||||||
|
#name : #EcSunburstSegment,
|
||||||
|
#superclass : #Object,
|
||||||
|
#instVars : [
|
||||||
|
'name',
|
||||||
|
'value',
|
||||||
|
'children',
|
||||||
|
'color'
|
||||||
|
],
|
||||||
|
#category : #'EchartsPharo-EchartsPharo'
|
||||||
|
}
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
EcSunburstSegment >> children: anEcSunburstSegment [
|
||||||
|
|
||||||
|
children := anEcSunburstSegment
|
||||||
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
EcSunburstSegment >> color: aColor [
|
||||||
|
|
||||||
|
color := aColor
|
||||||
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
EcSunburstSegment >> name: string [
|
||||||
|
|
||||||
|
name := string
|
||||||
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
EcSunburstSegment >> value: number [
|
||||||
|
|
||||||
|
value := number
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user