I couldn't put the chart in reqiured position with GD::Graph::Map. So I am not using it any more.
Instead I followed these steps
* close html file after drawing the table.
* open the same file in append mode and expot chart from png file using code
open (Rule, ">>$report") || die "can not open $report";
print Rule "<HTML><BODY BGCOLOR=white>\n";
print Rule "<INPUT TYPE=\"image\" style=\"position:absolute;left:200px
+;\" SRC=$name.png BORDER=\"1\" title=\" Packet Drop Analysis \" >\n";
print Rule "</HEAD>\n";
print Rule "</BODY>\n";
print Rule "</HTML>\n";
Also I increased the suppress_angle to 360 degrees, so that the labels will not appear on the chart.
But I want the labels to be at the bottom or right side of the chart with pie chart slice colour indication, as we get it with chart wizard of MS excel.
How can I achieve this?
Thanks & Regards
Nalina
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.