Documentation

Trace: Using Diagrams

(jvx:client:gui)

Using Diagrams

Translations of this page:

JVx supports the integration of diagrams platform-independently.

Example

Inserting a diagram into an existing layout:

UIChart chart = new UIChart();
 
chart.setTitle("Chart Test");
chart.setXAxisTitle("Values");
chart.setYAxisTitle("Count");
chart.setChartStyle(UIChart.STYLE_LINES);
 
chart.setDataBook(rdbContacts);
chart.setXColumnName("ID");
chart.setYColumnNames(new String[] {"ID", "SALU_ID"});
 
add(chart);

The chart component can be used just like a simple UIPanel.

For example, the results could look as follows:

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information