Requirements
This section explains the requirements for the number of rows for the different chart types.
Frame charts
The number of the required rows for frame chart depends upon the shapes displayed inside of it. To see the number of the required rows for a particular shape click here. Stock shapes require elements in the order specified by its name. For example, HIGHLOWOPENCLOSE element requires 4 elements in the high-low-open-close order. Bubble shape requires 2 series - first series defining the Y coordinate of the bubble center and the second - defining its relative size. The size can be any number, but larger values will result in larger bubbles than the smaller values, and equal values will result in the bubbles of equal size.
NOTE When your X-axis style is set to scale, logarithmic or date/time, the column labels are treated as values along this axis.
Pie charts
Pie charts can take any number of rows and columns and depending upon the type will either render multiple pies or combine all rows into one doughnut.
Radar charts
Radar charts can take any number of rows and columns, but for this chart to display anything you need to have at least 3 columns in your model.
Dial Charts
Dial charts require two series of data. The first series defines the position of the dial hand and only the first element in it is currently used. Other elements can be specified to set the range of the dial, but we recommend to set the range of the dial in the axis attribute of its style instead. The second series of data defines the ranges on the dial. Each value is a percentage of the dial that will be colored using the corresponding element color. For example, values 50, 30 and 20 will result in half of the dial being red, 30% green and 20% blue. If the second row is not specified, the edge of the dial will remain uncolored.
Slides
Slides use only column labels that are displayed as slide items.
Color maps
Colormaps can be used to visually represent two different attributes of the objects, for example, relative commpany's size and the change in annual revenues. The chart requires at least two columns per element. The value in the first column defines the relative size of the area that will be used to represent the element. The value in the second column is used to produce the area's color. It is possible to include more than two columns of data in order to provide additional values for data labels and annotations.
Statistical Charts
Statistical charts provide basic charts for statistical data visualization.
These charts usually apply some calculations to the raw data prior to displaying it, show statistical
information in the chart's legend and can optionally display statistical axes with step equal to the
standard deviation of the underlying distribution. In addition,
some charts can calculate and show Value-At-Risk for the specified level.
Histogram | - Uses one row of data. Automatically buckets data into the number of buckets
defined by the number of XAxis labels. If the number of labels is 0, then Sturge's rule is used. The chart
plots the histogram itself and the normal distribution density function fit to the underlying distribution
mean and standard deviation. Can optionally plot VaR as a shaded area under the normal curve. |
Timeline | - Uses one row of data. Displays timeline for the provided series of data.
Can optionally plot band specified by the VaR level. |
Profile | - Uses one row of data. Displays profile for the provided series of data and
cumulative normal fitted to the underlying distribution parameters. |
Regression | - Uses two series of data. The first series is used as X axis (independent) coordinates, the second series is used as Y axis coordinates. Displays provided data points as dots and plots linear regression function obtained using least squares method. The chart's legend displays the regression's alpha and beta. |