response times example needs some ergonomic love.
This commit is contained in:
parent
7ae7cc13a8
commit
cea31c6c23
4 changed files with 305 additions and 3 deletions
|
|
@ -2,6 +2,7 @@ package chart
|
|||
|
||||
import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/golang/freetype/truetype"
|
||||
"github.com/wcharczuk/go-chart/drawing"
|
||||
|
|
@ -57,6 +58,8 @@ const (
|
|||
DefaultDateFormat = "2006-01-02"
|
||||
// DefaultDateHourFormat is the date format for hour timestamp formats.
|
||||
DefaultDateHourFormat = "01-02 3PM"
|
||||
// DefaultDateMinuteFormat is the date format for minute range timestamp formats.
|
||||
DefaultDateMinuteFormat = time.Kitchen
|
||||
// DefaultFloatFormat is the default float format.
|
||||
DefaultFloatFormat = "%.2f"
|
||||
// DefaultPercentValueFormat is the default percent format.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue