SeriesCellOpts sets the cell options for this series. Note that the braille canvas has resolution of 2x4 pixels per cell, but each cell can only have one set of cell options set. Meaning that where series share a cell, the last drawn series sets the cell options. Series are drawn in alphabetical ord
(co ...cell.Option)
| 152 | // share a cell, the last drawn series sets the cell options. Series are drawn |
| 153 | // in alphabetical order based on their name. |
| 154 | func SeriesCellOpts(co ...cell.Option) SeriesOption { |
| 155 | return seriesOption(func(opts *seriesValues) { |
| 156 | opts.seriesCellOpts = co |
| 157 | }) |
| 158 | } |
| 159 | |
| 160 | // SeriesXLabels is used to provide custom labels for the X axis. |
| 161 | // The argument maps the positions in the provided series to the desired label. |