ANNOUNCEMENT: community.oracle.com is currently Read only due to planned upgrade until 28-Sep-2020 9:30 AM Pacific Time. Any changes made during Read only mode will be lost and will need to be re-entered when the application is back read/write.
By default, the series in a stacked chart will be stacked together if they have the same type (bar, line, or area) and belong to the same y-axis (y1 or y2). This makes sense for most data sets, but there are cases where more precise control is needed. To support this, the JET charts support the series.stackCategory attribute, which will create new stacks for series with different stackCategory values.
This is useful in combination charts, where one might want to stack the bar series, but not the lines:
This feature can also be used to provide different perspectives on the data. In our stack categories demo, we show a chart with sales across products in different regions. By using stacking and stack categories, a chart showing the sales of products in individual regions can be updated to show total sales or total sales by region:
The stack categories demo also leverages associated views highlighting and custom legend sections. To learn more about these features, see: