Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

TDBChart & ColorSource

edited September 2008 in End User
Hi,

I use RB10.09 and TeeChart Pro V8.02

I have a DBChart with Series named Series1, I want to link
Series1.ColorSource properties with my Datatset

How do I do ?

J-Pierre

Comments

  • edited September 2008
    Hi J-Pierre,

    If you are using RAP, you will need to access the ColorSource properties
    using a pass-thru function. Examples of how to create a pass-thru function
    are located in the developer's guide and in the \RBuilder\Demos\0. RAP\...
    directory.

    Otherwise, you should be able to access these properties from Delphi in an
    event that fires before the teechart is generated.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2008
    Hi,

    There is an other way:
    - edit report
    - save in a file
    - edit the file with 'Notepad'
    - find Series1
    - add line: ColorSource = 'COLOR FIELD'

    I have tried with pass-thru function, but it's very difficult...

    BR

    J-Pierre


This discussion has been closed.