Opened 8 years ago

#5176 new defect

WTF?: Awesome

Reported by: Justin Owned by: Martin Aspeli
Priority: normal Component: GoogleChartPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Optimal Lude,

This project is awesome. I am interested in shipping the GChartWrapper w/ this src code attached. It would also to be great to see this style of syntax (more humanized and integrated w/ the wrapper):

Your Way

  type  = "lc",           # chart type equivalent to 'cht'
  chxt  = "x,y",
  chf   = "c,lg,45,ffffff,0,76A4FB,0.75|bg,s,EFEFEF",
  chco  = "ff0000",       # chart color: blue
  chs   = "300x150",      # chart image size
  chxl  = "0:|1|2|3|4|5|1:||50|100",
  chls  = "4.0,3.0,0.0",
  query = "SELECT id \
           FROM ticket"

Native GChartWrapper API (or somewhat close)

  axes  = "x,y",
  fill   = "c,lg,45,white,0,76A4FB,0.75|bg,s,EFEFEF",
  color  = "blue",
  size   = "300x150",
  axes.label.0  = "1|2|3|4|5|",
  axes.label.1 = "|50|100",
  line  = "4.0,3.0,0.0",
  query = "SELECT id \
           FROM ticket"

I would like to help w/ this project, but havent had much experience in trac plugins...yet. Drop me a line at justquick (at) gmail and we can talk it over.

Thanks, Justin Quick

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Martin Aspeli.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.