Unable to get chart displayed on browser

Hi Gurus,

I am trying to use the invient chart in my vaadin application but am unable to get the display on the browser. There seems to be no error when the widget is compiled and when I hit the url. Would appreciate any help on it.

Below is the my sample code that I am using to see if I can get a simple chart displayed:

public class VaadininvientchartApplication extends Application {
	public void init() {
		Window mainWindow = new Window("Vaadininvientchart Application");
		Label label = new Label("Hello Vaadin user");
        //mainWindow.addComponent(new Label("Saurabh").setCaption("Testing..."));
		InvientChartsConfig chartConfig = new InvientChartsConfig();
        BarConfig barCfg = new BarConfig();
        barCfg.setDataLabel(new DataLabel());
        barCfg.setColor(new com.invient.vaadin.charts.Color.RGB(0, 255, 0));
        XYSeries seriesData = new XYSeries("Test", SeriesType.BAR, barCfg);
        seriesData.addPoint(new DecimalPoint(seriesData, 107));
        InvientCharts chart = new InvientCharts(chartConfig);


Also, please find the eclipse project structure screen-shot attached. You can see that I have added more than the required libraries, but I did so only after I was unable to get the display.


Another problem I noticed is that once I compile the widgetset, the labels and text that I add to my mainWindow in vaadin also stops showing up on the browser.

Thanks in advance for the help. :slight_smile:



Sounds like there’s some problem compiling the widgetset. Do you get any error messages anywhere that could hint at what’s wrong? What does the ?debug log say?