MCPcopy
hub / github.com/g3n/engine / SetFormatY

Method SetFormatY

gui/chart.go:135–139  ·  view source on GitHub ↗

SetFormatY sets the string format of the Y scale labels

(format string)

Source from the content-addressed store, hash-verified

133
134// SetFormatY sets the string format of the Y scale labels
135func (ch *Chart) SetFormatY(format string) {
136
137 ch.formatY = format
138 ch.updateLabelsY()
139}
140
141// SetFontSizeX sets the font size for the x scale labels
142func (ch *Chart) SetFontSizeX(size float64) {

Callers 1

buildChartFunction · 0.95

Calls 1

updateLabelsYMethod · 0.95

Tested by

no test coverage detected