final JLChartLegend legend = (JLChartLegend) tth.findFirstComponent(JLChartLegend.class,
jf1);
Assert.assertTrue("Legend section is not visible", legend != null);
// V�rifier la pr�sence de la l�gende
final JLChart chart = (JLChart) tth.findFirstComponent(JLChart.class, jf1);
final JLDataView view = chart.getDataView(m_deviceName + "/" + yAttributeName);
if (view != null) {
Assert.assertTrue("Legend section is not visible",
view.getDisplayName().compareTo(displayName) == 0);
}
// clean
widget.stop();
jf1.dispose();