custom colors / more colors
Posted: Wed Apr 27, 2022 6:38 pm
I tried searching for
As a feature, I would like for the user to be able to define user-specified colors using RGB values when they create plot features in Arduino code.
(Note, I realize the user interface allows changing the RGB values of line data).
Right now (I'm new so I'm not sure), we are limited to the following colors when we specify something like this example from MegunoLink:
These are the colors allowed when specifying them in code.
It would be handy to specify colors using RGB values.
Thanks!
using the forum search tool, but was denied because my search terms were too common.more colors
As a feature, I would like for the user to be able to define user-specified colors using RGB values when they create plot features in Arduino code.
(Note, I realize the user interface allows changing the RGB values of line data).
Right now (I'm new so I'm not sure), we are limited to the following colors when we specify something like this example from MegunoLink:
Code: Select all
MyPlot.SetSeriesProperties(F("Voltage"), F("r:s4"));
// we can only specify 'r', 'g',... for the color
Code: Select all
enum Colors
{
Red = 'r',
Green = 'g',
Blue = 'b',
Yellow = 'y',
Black = 'k',
Magenta = 'm',
Cyan = 'c',
White = 'w',
};
Thanks!