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

Currency symbol with TeeChart

edited December 2005 in General
Hi,

I'm using TeeChart 6 with Report Builder 9.

In report builder, when I set the display format of a currency field, the
"$" sign is automatically changed for the proper currency sign according to
the Windows Control Panel of the user pc. For example if the display format
of the field is "0.00$" and the currency sign in the control panel is "?"
(EUROS) and the value is "1.99" the I will get 1.99 ? that is correct.

However, with TeeChart, when the Legent is displayed, if the format is
"0.00$" I do not get the "?" (EUROS) sign. I still get the "$" sign.

Any help would be appreciated.

Note: I posted it to the TChart NewsGroup and I did not get any answer.

Best regards,

--
G. Plante

Comments

  • edited December 2005
    Hi Guylain,

    The TeeChart component in ReportBuilder is simply a wrapper around the
    TChart component in Delphi. All processing within the chart is handled by
    TeeChart code. Have you tried emailing support@steema.com for help?

    --
    Regards,

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

    Best Regards,

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

    Here is an answer I received from the TeeChart support:

    *********************************
    Hi,

    you could set the Currency string of the Control Panel using :
    Series1.ValueFormat := '0.00 '+CurrencyString;
    _________________
    Josep Lluis Jorge
    http://support.steema.com
    *********************************

    I tried it using RAP but it's not working. Here is what I tried:

    TeeChart1.Series1.ValueFormat := '0.00$';

    RAP print the following error:
    Error: TeeChart1OnPrint, Line 3: Expected '(' or ')', but found 'Series1'
    instead.

    Thanks for your help.

    --
    G. Plante


  • edited January 2006
    Hi,

    Sorry, I was not aware you were using RAP. You will need to create a
    pass-thru function to expose this TeeChart feature. Take a look at the
    ReportBuilder Developer's Guide located in the \ReportBuilder\Developer's
    Guide\... directory for an example of doing so.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.