Modify

Opened 6 years ago

Last modified 5 years ago

#4232 new enhancement

Adding "cht" support in place of missing "type"

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

Description

This is a wonderful plugin. I have lots of charts generated and will add a couple to the examples in wiki page. Many thanks.

Currently type is equivalent to cht, but type is required. It would be nice that the plugin can use cht in place of missing type? Basically, either one is required, but not both nor none.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by peterA

  • Summary changed from Adding "cht" support to Adding "cht" support in place of missing "type"

comment:2 Changed 6 years ago by optilude

I'd accept such a patch. :-)

comment:3 Changed 5 years ago by metafeather

I've gotten around this by declaring both using the #!GChart syntax:

  type="lxy",
  query="SELECT * FROM ticket",
  cht="lxy",
  chs="500x400",
  chtt="Iteration burndown",
  chg="10,5",
  chdl="Target|Actual",
  chco="C6D9FD,ff0000",
  chm="D,c6d9fd,0,0,6|o,ff0000,1,-1,8",
  chxt="x,y",
  chxl="0:|Start|Mon|Tue|Wed|Thur|Fri|Mon|Tue|Wed|Thur|Fri|\
              1:|0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20",
  chds="0,10,0,20,0,10,0,20",
  chd="t:0,10|20,0|0,0,1,2,3,4,5,6,7,8,9,10,11|20"

Note that type and cht both have the same values.

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.