Warning
This help isn’t complete. It may even look terrible. If you want to work on it, see How to Contribute. You can also ask for help in the Juice Slack #documentation channel.
Contents
A Flower slice shows data divided into equal segments. How far the data in each segment extends from the center depends on the value it represents.
Flower slices support the Common configuration options for all slices. Additional options are:
Turn on/off the zooming of the flowers.
Optional: | Yes, by default zoom is set to true. |
---|---|
Values: | Boolean |
Example: | config:
zoom: false
|
If zoom is true, the flower and its labels will be scaled by zoomFactor. For example, a zoomFactor of 2 will make it twice as big.
Optional: | Yes, default is 2 |
---|---|
Values: | Integer |
Example: | config:
zoomFactor: 5
|
Explicitly set the min value. To be used when the dataset’s min value is not a decimal/percent falling within a range of 0 to 1.
Optional: | Yes, default is 0 |
---|---|
Values: | Integer |
Example: | config:
min: 1
|
Explicitly set the max value. To be used when the dataset’s max value is not a decimal/percent falling within a range of 0 to 1. When the max value is less than the dataset’s max value, the petal size will overflow the grey petal background.
Optional: | Yes, default is 1 |
---|---|
Values: | Integer |
Example: | config:
max: 5
|
If each of the flowers should have a fixed size, then set this to true, and set the size of the flower in radius.
Optional: | Yes, default is false. |
---|---|
Values: | Boolean |
Example: | config:
useNodeSize: true
|
Changes the radius of the flower’s outer ring. When it’s not set, it uses the width and height of the visualization to determine the size of each flower.
Optional: | Yes, but necessary if useNodeSize is set to true. There is no default value |
---|---|
Values: | Integer |
Example: | config:
radius: 100
|
Changes the radius of the inner background circle of the visualization.
Optional: | Yes, default is 15 |
---|---|
Values: | Integer |
Example: | config:
innerRadius: 10
|
Controls the distance/space between the flower petals.
Optional: | Yes, default is 0.1 |
---|---|
Values: | Float (within 0-1 range) |
Example: | config:
innerRadius: 0.5
|
The name of the template that should be used to display the details for a petal when it is hovered.
Optional: | Yes |
---|---|
Values: | CSS Selector |
Example: | config:
detailsTemplateName: "#my-flower-slice-details-template"
|
The height of the visualization in pixels.
Optional: | Yes, defaults to 600 |
---|---|
Values: | Integer |
Example: | config:
height: 700
|
Currently there is not a renderer for the flower slice