Hi, On Tue, 2008-05-27 at 16:12 +0200, Stanislav Zheltov wrote: > Hello, > > I’m using the Graph component and couldn’t answer the question from > documentation: > > Is it possible (if you have empty data field) not to draw it on chart, > or let’s say skip it in this column? > > Currently if you have an array with one empty value – it will be drawn > as ‘0’ on graph, though the value wasn’t there in this column
If you do not want one column to be drawn in the graph, just do not set it in the provided array, as shown in the attached example. I just tested this with bar and line charts and it seems to work fine here. We could also add an option to ignore "empty" values, but you might want that values === 0 are drawn in the graph, at least in line charts. What would you consider "emtpy" values in this case? Kind regrads, Kore -- Mit freundlichen Grüßen / Med vennlig hilsen Kore Nordmann (GPG: 0xDDC70BBB) eZ Components Developer eZ systems Headquarters tel +49 (0) 231-9742-7750 | fax +49 (0) 231-9742-7751 [EMAIL PROTECTED] | eZ systems | ez.no
mail_08_05_28.php
Description: application/php
<<attachment: mail_08_05_28.svg>>
signature.asc
Description: This is a digitally signed message part
-- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
