Recent

Author Topic: tPieChart  (Read 8638 times)

Martin V

  • Full Member
  • ***
  • Posts: 139
tPieChart
« on: January 01, 2011, 11:43:25 pm »
Hello,

has someone added a tPieChart component, in addition to chart.pp tBarChart ?

Martin V

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: tPieChart
« Reply #1 on: January 02, 2011, 04:53:51 pm »
Install TAChart (it's under components folder), it already has pie chart.

Martin V

  • Full Member
  • ***
  • Posts: 139
Re: tPieChart
« Reply #2 on: February 02, 2011, 11:55:50 pm »
I tried to install TAChart and failed... Meanwhile, I have realized that TAChart is part of the default Lazarus installation package. tChart is part of the Lazarus components and to get a pie chart, you simply need to add a PieSeries in tChart.

But there's no really good documentation of TAchart, and the demo program (folder lazarus/components/tachart) generates several compiler errors... I seems that the demo program has not been updated since TAchart has been changed.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: tPieChart
« Reply #3 on: February 03, 2011, 03:33:25 am »
Try using daily snapshots, TAChart is one of many components that get quite a lot of improvements.

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: tPieChart
« Reply #4 on: February 03, 2011, 05:51:24 pm »
But there's no really good documentation of TAchart, and the demo program (folder lazarus/components/tachart) generates several compiler errors... I seems that the demo program has not been updated since TAchart has been changed.

Note that for a long time (at least since Lazarus 0.9.28) there are many demo
programs in "components/tachart/demo" subfolder,
instead of the single demo you are talking about.
Please make sure you are using recent enough Lazarus version.

 

TinyPortal © 2005-2018