Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Cvs P5ee > [svn:p5ee] r107...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 659 of 694
Post > Topic >>

[svn:p5ee] r10700 - p5ee/trunk/App-Widget-ChartDirector/lib/App/Widget

by spadkins@[EMAIL PROTECTED] Feb 7, 2008 at 06:28 AM

Author: spadkins
Date: Thu Feb  7 06:28:28 2008
New Revision: 10700

Modified:
   p5ee/trunk/App-Widget-ChartDirector/lib/App/Widget/ChartDirector.pm

Log:
remove pink. doesn't show up well.

Modified:
p5ee/trunk/App-Widget-ChartDirector/lib/App/Widget/ChartDirector.pm
==============================================================================
---
p5ee/trunk/App-Widget-ChartDirector/lib/App/Widget/ChartDirector.pm	(original)
+++
p5ee/trunk/App-Widget-ChartDirector/lib/App/Widget/ChartDirector.pm	Thu
Feb  7 06:28:28 2008
@[EMAIL PROTECTED]
 -798,9 +798,10 @[EMAIL PROTECTED]
     # $c->xAxis()->setLinearScale(0, 2, $x);
 
 #############  
-    my @[EMAIL PROTECTED]
 = ("0xFF0000", "0xFF00",     "0xFFFD00", "0xFF00FF",
"0x6E641E", "0xA5BF8",  "0xFFC0CB",
+    my @[EMAIL PROTECTED]
 = ("0xFF0000", "0xFF00",     "0xFFFD00", "0xFF00FF",
"0x6E641E", "0xA5BF8",
                      "0x44A816", "0x8B0000",   "0x6495ED", "0xFF8C00",
"0xA4E8B",  "0xDEB887", "0x9932CC",
                      "0xAFC8",   "0x55FF0000", "0x30D40",  "0x708090",
"0xBDB76B", "0xADD8E6");
+                     #"0xFFC0CB", - This is no more needed - RNS
070831-000229
 #############
 
     my $x = $self->get_x($spec);
@[EMAIL PROTECTED]
 -836,9 +837,9 @[EMAIL PROTECTED]
                 $y = $stacked_y;
             }
             #$dataset = $layer->addDataSet($y, -1, $y_labels->[$i]);
-################           
+################            
             #we choose colors from @[EMAIL PROTECTED]
            if($i <= 19) {   
+            if($i <= 18) {                    # RNS 070831-000229 
                 if ($#$data_set_colors != -1) {
                     $dataset = $layer->addDataSet($y,
$data_set_colors->[$i], $y_labels->[$i]);
                 } else {
@[EMAIL PROTECTED]
 -848,7 +849,7 @[EMAIL PROTECTED]
             else {
                 #if number of y_labels is greater than 20, colors will be
repeated
                 #we have declared only 20 colors
-                $dataset = $layer->addDataSet($y,
hex($color_set[($i-20)]), $y_labels->[$i]);
+                $dataset = $layer->addDataSet($y,
hex($color_set[($i-19)]), $y_labels->[$i]);   # RNS 070831-000229
             }
 ###############            
             $dataset->setDataSymbol($self->sym($i, \@[EMAIL PROTECTED]
)) if
($spec->{points});




 1 Posts in Topic:
[svn:p5ee] r10700 - p5ee/trunk/App-Widget-ChartDirector/lib/App/
spadkins@[EMAIL PROTECTED  2008-02-07 06:28:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:29:08 CDT 2008.