how can I mark the name of each line in the graph?

B

bev_greg

I need to draw several interface's output rate in one line graph, is it
possible to put the name of each interface beside each line? Since I
have 60-70 interfaces for some nodes, it is a little confusing to
distinguish which color represents which interface simply by using
@legend at the end of the graph.
 
B

bev_greg

Sorry my mistake, yes, I am using Perl to write the script, and the
module I used to generate the graph is GD::Graph::lines. So, is it
possible to do it by module GD or is there any other Perl modules that
can do it? Thanks.
 
X

xhoster

I need to draw several interface's output rate in one line graph, is it
possible to put the name of each interface beside each line? Since I
have 60-70 interfaces for some nodes,

Do you really think you can find a way to clearly label a non-trivial line
chart that has 60-70 different lines? I doubt that even Edward Tufte in
person could manage to do this, let alone some automated module.
it is a little confusing to
distinguish which color represents which interface simply by using
@legend at the end of the graph.

Since you seem to be using GD::Graph, have you looked at using get_hotspot
and then adding text to the image (after it is plotted) based on those
hotspots?

Xho
 
B

bev_greg

When there is a rate hike of an interface comparing with all other
interfaces, I want to mark out what is the name of that interface in an
easy reading way and then use another script which generates interface
graph for details, so it doesn't bother me if all the other 59 names
are overlapped together, I will try your suggestion, see if I can work
it out with hotspots, thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,079
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top