Menu

#172 BarRenderer can't SetSerieColour

open
nobody
None
5
2016-05-02
2016-05-02
DarkLiz
No

Look the comments in the folow code
...
dataset->AddSerie(wxT("0"), values, WXSIZEOF(values));
BarRenderer *barRenderer = new BarRenderer(barType);
wxColour colorGray = wxColour(100,101,110); //GRAY to display in presentation
barRenderer->SetSerieColour(0, &colorGray); // Not working here (auto set the color RED, GREEN, ...)
dataset->SetRenderer(barRenderer);

GRAY to display in presentation and auto set the colors in AddSerie like RED, GREEN...

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.