Creating EcSunburst.

This commit is contained in:
ruidajo 2022-09-19 10:11:10 -05:00
parent 9d5c06928c
commit 950da1e35e
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Class {
#name : #EcSunburst,
#superclass : #Object,
#instVars : [
'segments'
],
#category : #'EchartsPharo-EchartsPharo'
}
{ #category : #accessing }
EcSunburst >> segments: aEcSunburstSegment [
segments := aEcSunburstSegment
]

View 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
]