Modify

Opened 5 years ago

#5176 new defect

WTF?: Awesome

Reported by: justquick Owned by: optilude
Priority: normal Component: GoogleChartPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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

{{{
#!GChart
  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)

{{{
#!Line
  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)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.