-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi guys.
currently, I using (stacked column chart) but I have many data to display on it. Is it possible to use scroll horizontal or pagination in this chart? appreciate your help.
There are several ways to handle large data:
give a large width and allow overflow-x:
<charts id="chart" type="line" width="3000"/>
<style>
.z-charts{
overflow-x: auto !important;
}
</style>
You can select a range by drag and drop to zoom in.
chart.setZoomType("x");
See https://github.com/zkoss/zkchartsessentials/blob/master/src/main/webapp/event/events.zul
You need to define the size of data points for 1 page.
chart.getXAxis().setExtremes(1, 10);
so it only shows those points in 1~10Asked: 2022-10-15 03:06:40 +0800
Seen: 7 times
Last updated: Oct 18 '22