Hy there,

I'm using Spreadsheet::WriteExcel for a couple of days now, because the PHPExcel Class, that I used before, didn't had some features I need ;-)

So far I'm really happy with Spreadsheet::WriteExcel. The only Problem I got is the following:

I have several worksheets, generated by content from a db. Each worksheet has, besides from the content, four columns with data_validation lists. So in the data-validation cells (it's like a drop-down-box) there are only values valid that are predefined (e.g. high, medium, low). When someone works with this worksheets he can now select this predefined values for every row that has content from the db.

The last worksheet that is created is called summary. In this worksheet I use the Excel-Formula "countif" to count how often a certain value is choosen in a certain worksheet (e.g. high 4 times, medium 2 times and so on). This all works so far.

What I want is a function that generates a pie chart out of this values. So every time the values are changing (e.g. high changes to medium) I want that this pie chart is redrawn.

I didn't find any functions in Spreadsheet::WriteExcel. Do you know how I can do this, without using VBA-Stuff?

Thx in advance and I hope I made the situation clear ;-)


In reply to Spreadsheet::WriteExcel, draw circles or a pie chart? by sushi2k

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.