linechart legend

2 views
Skip to first unread message

Yaron Illouz

unread,
Dec 3, 2014, 7:18:40 AM12/3/14
to ofc...@googlegroups.com

I did a graph in gwt with com.rednels.ofcgwt.client package that contain multiple linechart
The setText produce a legend at the top of the graph, for each line another legend.
1. I want that when the mouse is over/clicked a legend the line will go black.
2. If this is possible i would also like to hide all others line.

    FlowPanel fp1 = new FlowPanel();
    ChartWidget chart1 = new ChartWidget();

     final ChartData cd1 = new ChartData("", "font-size: 5px; font-family: Verdana; text-align: center;");
    for (HistoryAnsElmnt elemnt : historyAns.getHistoryAnsElmnt())
    {
        LineChart area1 = new LineChart();
        area1.setText( elemnt.getElmntName());
    }
Reply all
Reply to author
Forward
0 new messages