Ternary Series Assigning a Color
Posted: Fri Jul 30, 2021 9:21 pm
How do you assign a single color per series on a ternary plot? Do I need to set it programmatically, or can I sent it to choose colors in the editor.
My code now looks like this
My code now looks like this
Code: Select all
NameOld := NameNew;
TriPlotSeries := TTernarySeries.Create(Self);
TriPlotSeries.ParentChart := ChartTriPlot;
TriPlotSeries.Title := NameNew;
TriPlotSeries.pointer.Style := psDonut;
TriPlotSeries.pointer.Size := 10;
TriPlotSeries.Pointer.Visible := True;
TriPlotSeries.VertexTitles[0].Text := cxLookupComboBoxTriAnal1.EditText;
TriPlotSeries.VertexTitles[1].Text := cxLookupComboBoxTriAnal2.EditText;
TriPlotSeries.VertexTitles[2].Text := cxLookupComboBoxTriAnal3.EditText;