bjr,
J'utilise la méthode ChartFactory.createBarChart3D(...) pour générer mon histogramme 3D.
sauf que j'ai une erreure a ce niveau:
le probleme est :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16private JFreeChart createChart(CategoryDataset dataset, String title) { System.out.println("creation chart"); JFreeChart chart = ChartFactory.createBarChart3D ( title, Msg.translate(Env.getCtx(), "Days"), Msg.translate(Env.getCtx(),"Hours"), dataset, PlotOrientation.HORIZONTAL, true, true, false );
The method createBarChart3D(String, String, String, CategoryDataset, PlotOrientation, boolean, boolean, boolean) in the type ChartFactory is not applicable for the arguments (String, String, String, CategoryDataset, PlotOrientation, boolean, boolean, boolean)
merci pour vous.








Répondre avec citation
Partager