I have showing chart on a `Visualforce Page` in an `<apex:outputPanel>` pop up. It works the first time when the page is loaded. This first time also I do a re-render. But when I change the data based on conditions and rerender the outputpanel, it goes blank. But I am using `outputText` in same `outputputPanel` the chart is in and it works fine.

After clicking on submit button, it does not work.

**Visualforce Page**  

I have used custom popup here..on that popup i need to show charts

```
<apex:outputPanel styleClass="customPopup" layout="block"   rendered="{!displayImpactPopup }" id="outputpanel1"> **//some code for displaying popup**
    <apex:chart id="chart1" height="150" width="400" data="{!dlist }" name="chartbar">
        <apex:axis type="Numeric" position="bottom" fields="data"
            grid="true" maximum="1500" minimum="0" />
             <apex:axis type="Category" position="left" fields="name"
                                       title="" grid="true" />
             <apex:barSeries orientation="horizontal" axis="left"
                              xField="data" yField="name">
             <apex:chartTips height="20" width="120" />
          </apex:barSeries>
 </apex:chart>

```

I have tried do many things for 3 days..Just not getting the chart displayed.

```
public static List<String> test()
{
    dlist = new List<String>();

    dlist .add(new dlist (32,'test1 '));
    dlist .add(new dlist (21,'test 2 '));
    dlist .add(new dlist (11,'test 3 ');
    dlist .add(new dlist (30,'test 4 '));

    return dlist ;
}

```