TeeChart for JavaFX
Posted: Fri May 25, 2012 1:14 pm
Hi
Will there be a TeeChart version for JavaFX? Anything planned?
Best Regards
Michi
Will there be a TeeChart version for JavaFX? Anything planned?
Best Regards
Michi
Steema Software - Customer Support Forums
http://216.92.101.67/support/
Code: Select all
public class JavaFXChartApp extends Application {
@Override
public void start(Stage primaryStage) {
javafx.embed.swing.SwingNode swingNode = new SwingNode();
com.steema.teechart.TChart mChart = new com.steema.teechart.TChart();
swingNode.setContent(mChart);
mChart.getChart().getAspect().setView3D(false);
ColorGrid cGrid = new ColorGrid(mChart.getChart());
cGrid.fillSampleValues();
StackPane root = new StackPane();
root.getChildren().add(swingNode);
Scene scene = new Scene(root, 800, 450);
primaryStage.setTitle("TeeChart test form");
primaryStage.setScene(scene);
primaryStage.show();
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
}