MCPcopy Index your code
hub / github.com/g3n/engine / SetFormatX

Method SetFormatX

gui/chart.go:128–132  ·  view source on GitHub ↗

SetFormatX sets the string format of the X scale labels

(format string)

Source from the content-addressed store, hash-verified

126
127// SetFormatX sets the string format of the X scale labels
128func (ch *Chart) SetFormatX(format string) {
129
130 ch.formatX = format
131 ch.updateLabelsX()
132}
133
134// SetFormatY sets the string format of the Y scale labels
135func (ch *Chart) SetFormatY(format string) {

Callers 1

buildChartFunction · 0.95

Calls 1

updateLabelsXMethod · 0.95

Tested by

no test coverage detected