Interface | Description |
---|---|
ChartListener |
Listener to deliver events about user interaction with the
Chart . |
Class | Description |
---|---|
Chart<D,C extends Config> |
Instance of a single chart.
|
ChartEvent |
Event describing what happened in a
Chart . |
Color |
Represents a color.
|
Config |
Generic configuration object.
|
Segment | |
Values | |
Values.Set |
Create various types of charts
.
Display them
using HTML/Java
API and other presenters provided by the
DukeScript project.
Click the chart to increase the values. Hold Shift to decrease, hold Ctrl to modify the value by ten.
To use this library from your
DukeScript application follow
the getting started tutorial
and then add dependency on the Charts API to your
client/pom.xml
:
<dependency> <groupId>com.dukescript.api</groupId> <artifactId>charts</artifactId> <version>1.0</version> <-- or any newer --> <type>jar</type> </dependency>
If you are also using client-web/pom.xml
consider to include
pre-built Bck2Brwsr Library
as
<dependency> <groupId>com.dukescript.api</groupId> <artifactId>charts</artifactId> <version>1.0</version> <-- the same as above --> <classifier>bck2brwsr</classifier> </dependency>
Including this pre-built library will speed your compilation time up.
Copyright © 2017. All rights reserved.