ColumnOptions returns the current column options by name (to access by index, just use Columns directly).
(column string)
| 157 | // ColumnOptions returns the current column options by name |
| 158 | // (to access by index, just use Columns directly). |
| 159 | func (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]. |
| 169 | const ( |
no outgoing calls