Firstly, I would like to thank cacharbe for his wonderful tutorial, to get me going way long back.
Now, what I need in an excel graph is this:-

I have an excel sheet full of little tables of 2 columns * [2-7] rows each. Most of them are redundant, except that the table headers change. Each table is for one department and the table for one department looks something like this:
Name Hours loy 13 toy 12 mccoy 05 roy 47 loy 24 toy 05 joy 24
What I want is to create a graph (Bar/XYColumn) for each of the tables, and, here comes the tricky part, have a color attached to one bar of the chart based on the values of the 'hour', so that I get, say differrent colors for 'hours' ranging from 0-10, 11-20 and so on...

I want some clues on how to get the color for each column.

Many thanks!
Rupesh.

Edited by Chady -- escaped [...] to prevent linking


In reply to Excel Graph *issue* by rupesh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.