jQuery UI Widgets Forums Chart Hide/ Remove Series/Chart from my page

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • lev_povolotsky
    Participant

    I have 3 grids and at the bottom a chart.
    The issue that when I select a row on any of the top 2 grids I would like that the chart will clean the data inside.
    and when I will press on the 3’rd grid it will load a new data.

    I succeed to do that with

     showstuff('jqxchart');
      hidestuff('jqxchart');
    
     function showstuff(boxid){
            document.getElementById(boxid).style.visibility="visible";
        }
    
        function hidestuff(boxid){
            document.getElementById(boxid).style.visibility="hidden";
        }
    

    Do I have any other way to do that?


    Dimitar
    Participant

    Hello lev_povolotsky,

    This is a fine way to show/hide a jqxChart. You can also toggle the display CSS property from “block” to “none” if it is more suitable in your scenario.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.