TeeChart percentage problem

I am trying to use TeeChart to display a Pie which has to show me the percentages also.

The problem is that if you sum up all the percentages it isn't 100%. It's really frustrating.

I have set the Series.Marks.Style to "Percent Total" and the total is actually bigger then it should be. After I calculated a bit to see why the sum differs from the real sum of values, I realised the 1st value is added twice. This is why the percentages are wrong.

Why does it do that?
LVL 1
xtremecrisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xtremecrisAuthor Commented:
I am surprised that nobody bothered to answer my question.

It seems that TeeChart has always had this problem which is really surprising since it is a very impresive tool.

Anyway, I have managed to work around the problem:
because it added the 1st value twice I have made the 1st row in the Dataset equal to 0. Now the total of all procentages is 100% how it should be. Off course it showed a slice of 0%(the 1st row) but I have solved this too: if you use "Group slices" with "Style" set to "Below %" and "Value" set to something like 5%, the pie will magicly apear like it should be.

I hope other will benefit from this solution since I have seen a lot of people complaining about this BUG in the TeeChart forum.

Since I have solved the problem by myself i will ask for my points back.
0
ee_ai_constructCommented:
Question answered by asker or dialog valuable.
Closed, 100 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.