Bugs: Browse | Submit New | Admin

[#23154] marker_color inconsistent with smaller graph sizes

Date:
2008-12-09 05:39
Priority:
3
Submitted By:
Morgan Whitney (blizzo)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
marker_color inconsistent with smaller graph sizes

Detailed description
When I create a line graph and set the marker_color, some of the marker lines appear the wrong color regardless of the
color I set.  The off color of the markers seems to vary depending on what the graph is doing.

Sample code to reproduce:


require 'rubygems'
require 'gruff'
g = Gruff::Line.new('120x75')
g.title = "My Graph" 
g.data("Apples", [1, 2, 3, 4, 4, 3])
g.data("Oranges", [4, 8, 7, 9, 8, 9])
g.labels = {0 => '2003', 2 => '2004', 4 => '2005'}
g.marker_color = '#FFF'
g.marker_count = 4
g.write('my_fruity_graph.png')

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item