in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Tooltip in Plotarea

Last post 03-03-2008 1:26 AM by C1_PatrickS. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-01-2008 6:59 AM

    Tooltip in Plotarea

    I need to have tooltip in PlotArea, with XVAL & YVAL.

    I tried with

    Dim maPlotArea As New MapArea

    maPlotArea = Chart.ImageAreas.GetByName("PlotArea")

    maPlotArea.Tooltip = "(Date:{#XVAL:dd-MMM-yyyy}, Price:{#YVAL})"

    But, I'm not getting the expected result. It is just showing - Date:{#XVAL:dd-MMM-yyyy}, Price:{#YVAL})" 

    Can anybody help me, please?

    Pragati

    Thanks in advance.

    Filed under:
  • 03-03-2008 1:26 AM In reply to

    Re: Tooltip in Plotarea

    Hi Pragati,
     
    The {#XVAL} and {#YVAL} is applicable to only ChartData and ChartLabel elements of the chart and not to the PlotArea. For all the chart elements, only {#TEXT} applies in the tooltip.
     
    Regards,
    Patrick
    <pragati_sd> wrote in message news:202449@10.0.1.98...

    I need to have tooltip in PlotArea, with XVAL & YVAL.

    I tried with

    Dim maPlotArea As New MapArea

    maPlotArea = Chart.ImageAreas.GetByName("PlotArea")

    maPlotArea.Tooltip = "(Date:{#XVAL:dd-MMM-yyyy}, Price:{#YVAL})"

    But, I'm not getting the expected result. It is just showing - Date:{#XVAL:dd-MMM-yyyy}, Price:{#YVAL})" 

    Can anybody help me, please?

    Pragati

    Thanks in advance.



    http://helpcentral.componentone.com/cs/forums/p/74490/202449.aspx#202449

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.