I'm working on an asset performance analysis using multiple datasets. I've created custom colors (from ColorBrewer: Color Advice for Maps) for each asset and used the (anonymized) script below to set the Row State Color. It's a nice color scheme that fits my specific needs. The problem is that the Make Row Legend in the various platforms and Coloring schemes in Graph Builder will only allow selection of specific color schemes (JMP default, or 'Custom'). Also, all of the assets may not be in each of the datasets that I am analyzing.
Is there a way to create a legend or custom color scheme that preserves my scripted color scheme in Graph Builder?
For Each Row(
Color Of( Row State( Row() ) ) = Match( :Asset,
"aaa", RGB Color( 255, 217, 47 ),
"bbb", RGB Color( 222, 45, 38 ),
"ccc", RGB Color( 35, 139, 69 ),
"ddd", RGB Color( 116, 196, 118 ),
"eee", RGB Color( 186, 228, 179 ),
"fff", RGB Color( 178, 24, 43 ),
"ggg", RGB Color( 8, 81, 156 ),
"hhh", RGB Color( 107, 174, 214 ),
"iii", RGB Color( 106, 61, 154 ),
"jjj", RGB Color( 202, 178, 214 )
)
);

I found a similar, previous, unanswered discussion here: https://communities.sas.com/message/101026#101026