5.8.9 Text Labels

There is possibility to set text label style by using html tags.

Usage:

1
2
3
4
5
6
7
8
9
10
11
12
//sets marker, series style with html tags
marker.setLabel("<html><body style=\"background-color:green\"/>"
  + "<font color=red size=+1>Mean: AMD Athlon 64</font>");
 
series.setName("<html><body style=\"background-color:green\"/>"
  + "<font color=red size=+4>Bouncing movement</font>");
 
// sets labeled chart tittle 
m_chart = new LabeledChart(chart);
 
m_chart.setTitle("<html><body style=\"background-color:green\"/>"
  + "<font color=red size=+4>Speed measures</font>");