Marks Show Wrong Values
Posted: Wed Oct 02, 2019 8:29 pm
TChart 2019.27.190530, Delphi 10.3.2
I am having a problem where the marts contain the wrong values. Here is my code:
And here is what the chart looks like (see that the values displayed in the marks are not consistent with where the bars line up on the axis):
So I checked the DFM and I am seeing this:
I don't know what the Marks.Items are ( didn't try to propagate the data there), but surely this should be cleared when srsValues.Clear is called?
If this is by design, I am concerned about what I am doing wrong.
Thanks,
Ed Dressel
I am having a problem where the marts contain the wrong values. Here is my code:
Code: Select all
srsValues.Clear;
srsValues.Add(FCalcs.DistByLifeExpect, 'Divided'#13'by Life'#13'Expectancy', clTeeColor);
srsValues.Add(FCalcs.DistAmortized, 'Amortized', clTeeColor);
srsValues.Add(FCalcs.DistAnnuitized, 'Annuitized', clTeeColor);
So I checked the DFM and I am seeing this:
Code: Select all
object srsValues: THorizBarSeries
HoverElement = []
BarBrush.Gradient.Direction = gdLeftRight
BarPen.Visible = False
ConePercent = 100
Marks.Font.Height = -13
Marks.Font.Name = 'Calibri'
Marks.Transparent = True
Marks.Style = smsValue
Marks.Items = {
06000000010C456D626F73732E436F6C6F720706636C477261790B466F6E742E
48656967687402F309466F6E742E4E616D65060743616D627269610C53686164
6F772E436F6C6F720706636C477261790A53686170655374796C650711666F73
...
If this is by design, I am concerned about what I am doing wrong.
Thanks,
Ed Dressel