Recent

Author Topic: Updating a value in a TAChart  (Read 6498 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8790
  • Programming + Glam Metal + Tae Kwon Do = Me
Updating a value in a TAChart
« on: October 24, 2007, 12:17:46 pm »
Let say I have a list box containing integers. The chart will draw the x-axis as listbox items value and y-axis as the number of appearance of that value in the listbox. I want to make such that when the items in the listbox is updated, so is the chart. But from the given methods, I have no idea how. For example, if I call TBarSeries.Add(aValue, aLabel, aColor) twice with the same aLabel but different aValue, instead of updating the old aValue, the chart draws another bar with the same aLabel but different aValue. So how do I do this?

 

TinyPortal © 2005-2018