Line chart data set name as tool tip

HI,
Line chart
we have x axis as a countries
and Y axis as income of different jobs
so each line represents job now color coded ( random color) for each job.

If we enable line label it appears very cluttered and unreadable.

in this senario two options:

Please help me how can I get below working?

  1. display as legend with the color of line
  2. display job_name(line name) as tool tip when mouse over the nodes on the line along each country.

Your help will be highly appreciated.

Thank you,

Hi,

display as legend with the color of line

Please have a look at the sample:
dhtmlxChart/samples/05_line_chart/05_series.html

display job_name(line name) as tool tip when mouse over the nodes on the line along each country.

you need to set correct tooltip. If each line contains job_name property, the template can be as follows:

tooltip:"#job_name#"

thanks!
will try as per the info given by the links and get back to you.