TeeChart percentage problem

Posted on 2004-11-05
Last Modified: 2010-04-04
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?
Question by:xtremecris
    LVL 1

    Author Comment

    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.

    Accepted Solution

    Question answered by asker or dialog valuable.
    Closed, 100 points refunded.
    ee_ai_construct (replacement part #xm34)
    Community Support Admin

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now