Questions tagged [vaadin-charts]

Vaadin Charts add-on, a commercial software library for sophisticated charting and graphing data-visualizations in Vaadin apps.

The Vaadin Charts add-on library is documented in The Book Of Vaadin, listed in the Add-On Directory, and has an extensive demonstration site. Version 2 was released in 2014-12.

71 questions
5
votes
2 answers

Has something replaced BeanItemContainer in Vaadin 8?

I downloaded a copy of the vaadin-charts-video example project from GitHub (https://github.com/vaadin-miki/vaadin-charts-video) to get a feel for how Vaadin charts are supposed to be implemented. However that project, and most of the available demo…
justinb
  • 85
  • 3
  • 7
4
votes
0 answers

Exported SVG overflows boundaries

I am visualizing some data with vaadin-charts:3.2.0, and I am trying to export a SVG out from the chart. I get some results but it is not satisfying. I can only share the screenshosts instead of the SVG itself. I also had to pixelate the labels to…
ardarda
  • 63
  • 5
3
votes
1 answer

Vaadin 14 themes - use "include"

recently I've switched our CSS styles for our application and components to theme (added in vaadin 14.6). Right now I'm looking for an alternative to include parameter of @CssImport annotation. @CssImport(value = "./styles/custom-charts.css",…
Lipisak
  • 33
  • 3
3
votes
0 answers

Generating PDF with iText and batik

I'm trying to export text and SVG graphs to a PDF. I found out that iText and batik can do this. So I tried doing that, but everytime I put in a graph, it would become extraordinary small. I thought it might be something with my code, so I figured…
Benjamin Larsen
  • 345
  • 2
  • 15
3
votes
1 answer

Format Labels in Vaadin Charts

I'm trying to create a pie chart with Vaadin Charts. This piece of code adds nice labels to the chart, but two digits after the decimal point t would be enough. dataLabels.setFormatter("''+ this.point.name +': '+ this.percentage +' %'"); Any…
2
votes
1 answer

Vaadin: How to update a chart's data?

I am difficulties finding a way to update a chart with new data. One adds data to a chart using: Configuration conf = chart.getConfiguration(); conf.addSeries(series); But there is no corresponding "remove(series)"!?! Thus, if I want to update the…
mmo
  • 3,897
  • 11
  • 42
  • 63
2
votes
1 answer

Vaadin chart not using up correct width

In Vaadin 14.6.1, I have created a horizontal layout with 2 charts (and some other stuff). The charts are not using up the correct width -- they seem to not "pick up" on the right width (see screenshot below). I set the width to 100% etc. Also, this…
Jonathan Sylvester
  • 1,275
  • 10
  • 23
2
votes
0 answers

How to get the user selected date from the RangeSelector in a Timeline of Vaadin Charts?

The Vaadin Charts Timeline provides a RangeSelector that includes two textfields. https://vaadin.com/docs/v8/charts/java-api/charts-timeline.html These two textfields can be used to enter a custom date range fast. The API of the RangeSelector…
Spyros K
  • 2,480
  • 1
  • 20
  • 37
2
votes
0 answers

Vaadin 8 Charts Timeline, How to implement Lazy loading of values

Problem Description Context I am trying to visualize a large dataset of X-Y values using Vaadin Charts. I would like to be able to load lazily the values that will be loaded since the dataset is large. This could be achieved by setting a fix window…
Spyros K
  • 2,480
  • 1
  • 20
  • 37
2
votes
1 answer

Vaadin Charts 2 shared tooltip example

I need an example of a shared tooltip in Vaadin Charts 2. This means for one slot on the X-axis, multiple Y-axis values are shown together in a single tooltip box. The Vaadin Charts Demo has a Lines with Complex Html tooltip showing such a shared…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
2
votes
2 answers

Setting bar colors in Vaadin Charts for ListSeries (on BasicColumn)

Using Vaadin 6.x and Vaadin Charts, I am playing around with BasicColumn (http://demo.vaadin.com/charts/#BasicColumn). I want the user to choose bar column colors on the screen. I correctly get the color from user however I couldn't manage to set…
hevi
  • 2,432
  • 1
  • 32
  • 51
1
vote
2 answers

Vaadin 14 Flow charts to SVG generator dependencies not working in pom.xml

I'm trying to implement the Vaadin Flow (14) charts to SVG converter and the pom dependencies are failing. The instructions I'm following are at: https://vaadin.com/docs/v14/ds/components/charts/charts-installing to install Charts as well as:…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
1
vote
1 answer

Vaadin heatmap does not support 40x40 (1600) points?

In Vaadin 14.6.1, I tried to create a Vaadin heatmap foollowing the documentation / example from here. However, I encountered a few problems/questions, listed in descending order of importance below: The heatmap supported 30 rows by 30 columns; but…
Jonathan Sylvester
  • 1,275
  • 10
  • 23
1
vote
1 answer

Vaadin Chart Component Suggestion

I wish to have a graph similar to this chart. I'm able achieve it partially, but I'm not able to get that centre count part. How to achieve the same? Do I need to use SOLIDGAUGE or PIE as ChartType? Currently I'm using ChartType as PIE. And to…
Shaini Sinha
  • 527
  • 6
  • 10
1
vote
2 answers

Include moment.js in vaadin charts 4.0 to set axis format

Hello I am using Vaadin 8 and Vaadin charts 4.0 and am trying to format one of the data axis of the chart to different date time formats depending on user format input and locale. I try to inject the moment.js library and get a reference exception…
1
2 3 4 5