Opened 5 years ago

Last modified 5 years ago

#20 new enhancement

Support empty strings as X values in chart

Reported by: wander Owned by:
Priority: major Keywords:
Cc:

Description (last modified by wander)

I'd like to write arbitrary strings as X values in a #chart, e.g.:

#chart;lines;points;legend;legend-position:se
Label |Y Validation ratio (\%) |
May | 4.6 |
    | 3.6 |
    | 3.7 |
Jun | 4.0 |
    | 4.5 |
    | 5.3 |
    | 4.6 |
    | 5.0 |
Jul | 4.7 |
    | 4.5 |
    | 5.2 |
    | 5.7 |
Aug | 5.0 |
    | 4.9 |
    | 4.8 |
#

Empty strings trigger a runtime error (panic: runtime error: index out of range).

Edit: forgot to define Label instead of X.

Change History (3)

comment:1 Changed 5 years ago by wander

  • Description modified (diff)

comment:2 Changed 5 years ago by wander

  • Summary changed from Support strings as X values in chart to Support empty strings as X values in chart

comment:3 Changed 5 years ago by wander

Workaround: use backslash and whitespace.

Note: See TracTickets for help on using tickets.