File tree Expand file tree Collapse file tree
ts-playground/src/components/charts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ const testPreconfig = computed<VueUiCirclePackConfig>(() => {
116116 animation: false ,
117117 annotator: true ,
118118 svg: true ,
119- zoom: false ,
119+ zoom: true ,
120120 altCopy: false ,
121121 },
122122 callbacks: {
@@ -146,6 +146,7 @@ const testPreconfig = computed<VueUiCirclePackConfig>(() => {
146146 fullscreen: ' Toggle fullscreen' ,
147147 annotator: ' Toggle annotator' ,
148148 svg: ' Download SVG' ,
149+ zoom: ' Toggle zoom lock' ,
149150 altCopy: ' Copy alt text' ,
150151 },
151152 print: {
@@ -171,6 +172,8 @@ const testPreconfig = computed<VueUiCirclePackConfig>(() => {
171172 },
172173 columnNames: {
173174 datapoint: ' Datapoint' ,
175+ parent: ' Parent' ,
176+ depth: ' Depth' ,
174177 value: ' Value' ,
175178 },
176179 },
@@ -205,6 +208,12 @@ const testPreconfig = computed<VueUiCirclePackConfig>(() => {
205208 intensity: 40 ,
206209 },
207210 labels: {
211+ parents: {
212+ show: false ,
213+ },
214+ children: {
215+ show: true ,
216+ },
208217 name: {
209218 fontSizeRatio: 1 ,
210219 show: true ,
@@ -225,6 +234,24 @@ const testPreconfig = computed<VueUiCirclePackConfig>(() => {
225234 },
226235 },
227236 },
237+ parentTooltips: {
238+ show: true ,
239+ fontSizeRatio: 1 ,
240+ borderRadiusRatio: 1 ,
241+ color: ' #2D353C' ,
242+ filter: ' drop-shadow(0 2px 4px #2D353C30)' ,
243+ backgroundColor: ' #FFFFFF' ,
244+ strokeWidth: 1 ,
245+ useSerieColor: true ,
246+ stroke: ' #2D353C' ,
247+ link: {
248+ strokeWidth: 1 ,
249+ strokeDasharray: 0 ,
250+ opacity: 0.6 ,
251+ useSerieColor: false ,
252+ stroke: ' #2D353C' ,
253+ },
254+ },
228255 tooltip: {
229256 show: true ,
230257 color: ' #2D353C' ,
@@ -243,6 +270,10 @@ const testPreconfig = computed<VueUiCirclePackConfig>(() => {
243270 smoothSnapThreshold: 0.25 ,
244271 teleportTo: ' body' ,
245272 },
273+ zoom: {
274+ show: true ,
275+ speed: 1 ,
276+ },
246277 },
247278 },
248279 };
You can’t perform that action at this time.
0 commit comments