Hi
Will there be a TeeChart version for JavaFX? Anything planned?
Best Regards
Michi
TeeChart for JavaFX
Re: TeeChart for JavaFX
Hi Michi,
I'm afraid we don't have plans to implement a native JavaFX version of TeeChart. However, I'm not sure if the actual Java version can be embedded into a JavaFX project.
I'm afraid we don't have plans to implement a native JavaFX version of TeeChart. However, I'm not sure if the actual Java version can be embedded into a JavaFX project.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart for JavaFX
Hi Yeray
Thank for for the answer.
Yes that may be a possibility, but i think they removed support for swing components in JavaFX 2.0...
Best Regards
Michi
Thank for for the answer.
Yes that may be a possibility, but i think they removed support for swing components in JavaFX 2.0...
Best Regards
Michi
Re: TeeChart for JavaFX
Hi Michi,
And what about the TeeChart Java SWT component?
http://docs.oracle.com/javafx/2/swt_int ... bility.htm
And what about the TeeChart Java SWT component?
http://docs.oracle.com/javafx/2/swt_int ... bility.htm
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart for JavaFX
Hi Yeray
Yes that would work (for swing too), but then you still have a mix of swing and JavaFX (where JavaFX is embedded).
I was looking for a way to eliminate swing completly once we switch over to JavaFX.
Best Regards
Michi
Yes that would work (for swing too), but then you still have a mix of swing and JavaFX (where JavaFX is embedded).
I was looking for a way to eliminate swing completly once we switch over to JavaFX.
Best Regards
Michi
Re: TeeChart for JavaFX
In response to recent questions on this subject, TeeChart is not a native JavaFX component. It may be included in a JavaFX project in the following way, using SwingNode:
Regards,
Marc Meumann
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);
}
}
Marc Meumann
Steema Support