diff --git a/Apps/EchartsPharo/EcSunburst.class.st b/Apps/EchartsPharo/EcSunburst.class.st new file mode 100644 index 0000000..4440256 --- /dev/null +++ b/Apps/EchartsPharo/EcSunburst.class.st @@ -0,0 +1,14 @@ +Class { + #name : #EcSunburst, + #superclass : #Object, + #instVars : [ + 'segments' + ], + #category : #'EchartsPharo-EchartsPharo' +} + +{ #category : #accessing } +EcSunburst >> segments: aEcSunburstSegment [ + + segments := aEcSunburstSegment +] diff --git a/Apps/EchartsPharo/EcSunburstSegment.class.st b/Apps/EchartsPharo/EcSunburstSegment.class.st new file mode 100644 index 0000000..52b8458 --- /dev/null +++ b/Apps/EchartsPharo/EcSunburstSegment.class.st @@ -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 +]