Scatter Plot
The Scatter Plot web component displays a scatter olot for a collection of numbers.
The pacioli-scatter-plot Component
The pacioli-scatter-plot element adds a Pacioli scatter plot to a web page.
<pacioli-scatter-plot definition="..."></pacioli-scatter-plot>
Common
- definition
- Name of the value or function to display
- width
- Width of the pacioli component.
- height
- Height of the pacioli component.
- margin
- Margin used around charts. For example margin="10,10,10,10"
- decimals
- Number of decimals for numbers. Default is 2.
- zero
- String to display for zero values
- raw
- Ignore number of decimals and display numbers with relevant digits.
- exponential
- Display numbers in exopnential format.
Scatter Plot
- caption
- A title for the chart
- unit
- Unit of measurement to display the value in. Must be compatible with the value's unit.
- xunit
- Unit of measurement in the x-direction. Overrides unit.
- yunit
- Unit of measurement in the y-direction. Overrides unit.
- trendline
- Adds a tendline to the chart
- xlower
- Start of the x-axis range
- xupper
- End of the x-axis range
- ylower
- Start of the y-axis range
- yupper
- End of the y-axis range
- xticks
- Ticks on the x-axis
- yticks
- Ticks on the y-axis
- radius
- Radius of the dot