can rotate text + add y axis names
This commit is contained in:
parent
3607d732d9
commit
718678b421
34 changed files with 102 additions and 20 deletions
|
|
@ -72,6 +72,12 @@ type Renderer interface {
|
|||
// MeasureText measures text.
|
||||
MeasureText(body string) Box
|
||||
|
||||
// SetTextRotatation sets a rotation for drawing elements.
|
||||
SetTextRotation(radians float64)
|
||||
|
||||
// ClearTextRotation clears rotation.
|
||||
ClearTextRotation()
|
||||
|
||||
// Save writes the image to the given writer.
|
||||
Save(w io.Writer) error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue