chart
chart copied to clipboard
Java library for use with Chart.js javascript library
This allows cartesian axes to be labeled as described in the official documentation for Chart.js 2.x.x: https://www.chartjs.org/docs/latest/axes/labelling.html For simplicity this reuses the existing ScaleLabel class, which is missing the lineHeight...
Following the chart.js documentation to customize tooltips I could use options: tooltip: callbacks, but this option has been commented in code. How can I customise tooltips content?
Hi, I am trying to parse the chart json to the BarChart.java class using jackson library and getting the following error: `Exception in thread "main" com.fasterxml.jackson.databind.JsonMappingException: Conflicting setter definitions for...
Hi, I was wondering if it is possible to add in fields to the PieOptions if I wanted to use it with [chartjs-plugin-datalabels](https://github.com/chartjs/chartjs-plugin-datalabels) extension. So with Pie Chart, we can...
Not all attributes are implemented yet, but this is enough to start rendering an axis based on time: http://www.chartjs.org/docs/latest/axes/cartesian/time.html Note: this requires moment.js (also available bundled with Chart.js)
`Data` specifies `labels` as a `List`. However, the labels that I have are of type `long` representing milliseconds since the epoch for use in a time scale. Here's an example...
Hi, I'm trying to style a linear scale (just `fontStyle` and `fontColor`) of a LineChart: ```java LinearTicks ticks = new LinearTicks().setFontStyle(FontStyle.BOLD); LinearScale axis = new LinearScale().setTicks(ticks); LinearScales scales = new...