Welcome to the Xceed Community | Help
Community Search  
More Search Options

Possible Bug - Dynamically Adding Chart + ImageMap

Sort Posts: Previous Next
  •  10-22-2004, 5:56 PM Post no. 6474

    Possible Bug - Dynamically Adding Chart + ImageMap

    Everything works fine, creating the ChartServerControl, binding the data, drawing it all.

    The issue comes when assigning the imagemap for tooltip popups.

    When doing a

    <i>
    Protected ChartHolder as System.Web.UI.WebControls.Panel

    Function GetChart() as XCeed.Chart.Server.ChartServerControl
    ~ CODE To build the chart
    End Function

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim cChart As Xceed.Chart.Server.ChartServerControl = GetChart()
    Me.ChartHolder.Controls.Add(cChart)

    'write the tooltips stuff
    Dim imageMap As HTMLImageMap = New HTMLImageMap
    cChart.ServerConfiguration.DefaultResponse = imageMap

    End Sub
    </i>

    The end code results in a javascript error.

    (HTML Rendered Code)
    <i>
    <div id="_ctl2_ChartHolder">
    <img id="_SalesGraph_7f8a40cb4d024b88b19c7925aa59e808" usemap="#MAP__SalesGraph_7f8a40cb4d024b88b19c7925aa59e808" src="/NorthStar/images/_SalesGraph_7f8a40cb4d024b88b19c7925aa59e808.png" alt="" style="border-color:Black;border-width:1px;border-style:Solid;" /><script LANGUAGE = "JScript">
    function E0MM()
    {
    ChartHolder._SalesGraph_7f8a40cb4d024b88b19c7925aa59e808.style.cursor = 'default';
    }
    </script>
    <MAP NAME="MAP__SalesGraph_7f8a40cb4d024b88b19c7925aa59e808">
    <AREA SHAPE="poly" COORDS="0 0, 470 0, 470 175, 0 175" onmousemove=E0MM()>
    </MAP></div>
    </i>

    As you can see, your HTML rendered code is not taking into consideration the parent controls rendered ID/Name when writing the java for it.

    I REALLY need a fix for this, or a workaround, it isn't functionally messing anything up, but i need the tooltips without the javascript error on the page.

    Thanks in Advance,
    Tom Anderson
    Software Developer
    Custom Business Solutions
    http://www.cbs-posi.com
  •  10-26-2004, 2:38 PM Post no. 6475 in reply to 6474

    Re: Possible Bug - Dynamically Adding Chart + ImageMap

    Still could REALLY use a fix for this.
  •  10-27-2004, 9:55 AM Post no. 6476 in reply to 6475

    Re: Possible Bug - Dynamically Adding Chart + ImageMap

    Hello,

    Did you send your issue to technical support (support@xceedsoft.com)? These forums are for peer discussions, not prompt technical support.
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
  •  10-28-2004, 2:19 PM Post no. 6477 in reply to 6476

    Re: Possible Bug - Dynamically Adding Chart + ImageMap

    yes, and i figured everyonce in a while a developer would look into these forums.
  •  06-19-2008, 2:37 PM Post no. 13092 in reply to 6474

    Re: Possible Bug - Dynamically Adding Chart + ImageMap

    I can see it's not just me who has issues with this.  I have sent this issue to the support team and never got any answer (Re: (Case 116721) xceed chart for asp.net).

    This issue is only for Firefox, I did not find it in IE of any kind.

    Anyway, if you replace or to add the <script LANGUAGE = "JScript">  the type tag: like this: type="text/javascript" that stops giving the error. For the developers it will be a very simple fix.

     

    The the Xceed people:   >>>>  Please fix this.

  •  06-25-2008, 4:25 PM Post no. 13215 in reply to 13092

    Re: Possible Bug - Dynamically Adding Chart + ImageMap

    We did reply on June 20th.

    This should be fixed in our next release.


    André
    Software Developer
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.