MCPcopy Create free account
hub / github.com/cogentcore/core / ColumnOptions

Method ColumnOptions

plot/plotcore/ploteditor.go:159–166  ·  view source on GitHub ↗

ColumnOptions returns the current column options by name (to access by index, just use Columns directly).

(column string)

Source from the content-addressed store, hash-verified

157// ColumnOptions returns the current column options by name
158// (to access by index, just use Columns directly).
159func (pl *PlotEditor) ColumnOptions(column string) *ColumnOptions {
160 for _, co := range pl.Columns {
161 if co.Column == column {
162 return co
163 }
164 }
165 return nil
166}
167
168// Bool constants for [PlotEditor.SetColumnOptions].
169const (

Callers 4

SetColumnOptionsMethod · 0.95
xLabelMethod · 0.95
TestTablePlotEditorFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestTablePlotEditorFunction · 0.76