Skip Menu |

This queue is for tickets about the Chart-OFC CPAN distribution.

Report information
The Basics
Id: 32576
Status: resolved
Priority: 0/
Queue: Chart-OFC

People
Owner: Nobody in particular
Requestors: ovid [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.05



Hi Dave, Not sure right now how to resolve this, but in t/Xaxis.t, if I add 'axis_color' to the constructor, I get the following error: Can't locate object method "x_axis_color" via package "Chart::OFC::XAxis" at lib/Chart/OFC/XAxis.pm line 69. This seems strange as it works with the YAxis. The docs for XAxis imply that I should be able to set this value: This class is a subclass of Chart::OFC::Axis and accepts all of that class's attribute. Otherwise, this is a fantastic module. Thanks for it! Cheers, Ovid
On Wed Jan 23 12:13:35 2008, OVID wrote: Show quoted text
> Can't locate object method "x_axis_color" via package > "Chart::OFC::XAxis" at lib/Chart/OFC/XAxis.pm line 69.
I also note that I can set grid_color on the x axis but it doesn't appear to be returned by _ofc_data_lines. This even shows up in the t/XAxis.t. You explicitly set the grid_color, but it's now showing up in the test. Is this actually a Moose bug? Cheers, Ovid
Subject: Re: [rt.cpan.org #32576]
Date: Fri, 25 Jan 2008 10:26:06 -0600 (CST)
To: Curtis 'Ovid' Poe via RT <bug-Chart-OFC [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Wed, 23 Jan 2008, Curtis 'Ovid' Poe via RT wrote: Show quoted text
> > Queue: Chart-OFC > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32576 > > > On Wed Jan 23 12:13:35 2008, OVID wrote: >
>> Can't locate object method "x_axis_color" via package >> "Chart::OFC::XAxis" at lib/Chart/OFC/XAxis.pm line 69.
> > I also note that I can set grid_color on the x axis but it doesn't > appear to be returned by _ofc_data_lines. This even shows up in the > t/XAxis.t. You explicitly set the grid_color, but it's now showing up > in the test.
The relationship of attributes to OFC data is kind of a mess, because the OFC data format is a mess. I tried to come up with sane rational names for everything. When you set grid_color it comes out as the last parameter on the x_label_style line. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/