Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Set "Chart Title"

Discussion in 'Information Technology' started by Francophone, Jul 28, 2006.

  1. Francophone

    Francophone
    Expand Collapse
    Guest

    I have controls to open up different charts. Currently, I have 3 different
    charts for 3 different option based off of the same data but filtered
    differently. I would like to use one chart but I don't know how to
    automatically change the title depending on the event.

    Any suggestions?

    TIA
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News Settlement Leads To Peaceful Transition At Sikh Temple Breaking News Sep 10, 2016
    Sikhi Langar-Aid - Sikhs Have Set Up A 'Langar' In The ISIS Territory of Syria To Feed Refugees Sikh Sikhi Sikhism Oct 31, 2015
    A set back or a step forward Blogs Oct 17, 2015
    USA Sikh Cartoonist Sets Out To Fight Racial Bias Breaking News Mar 9, 2015
    India Who says we have skeletons only in our closets? Breaking News Aug 22, 2014

  3. fredg

    fredg
    Expand Collapse
    Guest

    On Sat, 15 Jul 2006 09:56:02 -0700, Francophone wrote:

    > I have controls to open up different charts. Currently, I have 3 different
    > charts for 3 different option based off of the same data but filtered
    > differently. I would like to use one chart but I don't know how to
    > automatically change the title depending on the event.
    >
    > Any suggestions?
    >
    > TIA

    ..

    You can use code to change the ChartTitle.Text property.
    For example, the following code, placed in a report section's Format
    event will display a variable location and date as chart title:

    Me!OLEUnbound0.ChartTitle.Text = Forms!frmDate!List12 & " " &
    Format(Forms!frmDate!Text0, "mmmm yyyy")
    Me!OLEUnbound0.Refresh

    Place the code in whatever section the chart is displayed in.
    OLEUnbound0 is the name of the chart control in the report.
    frmDate is the name of the form from which the user can select the
    location (List12) and date (Text0) to create the chart on.

    --
    Fred
    Please respond only to this newsgroup.
    I do not reply to personal e-mail
     

Share This Page