+ Start a Discussion
Amol DixitAmol Dixit 

Apex chart not getting displayed.

Hi,

I am trying to incorporate apex:chart, but it is not getting displayed.

I have one panel which includes another visualforce page having apex:chart.

But the apex:chart is not getting rendered.
<apex:outputPanel id="chartPanel">
		 	<apex:chart height="400" width="700" data="getRemoteData" name="RemotingLineChart">
				    	  <apex:axis type="Numeric" position="left" fields="data1" 
				            title="Opportunities Closed" grid="true"/>
				    	  <apex:axis type="Category" position="bottom" fields="name" 
				            title="Month of the Year">
				    	</apex:axis>
				    	<apex:lineSeries axis="left" fill="true" xField="name" yField="data1"
				          markerType="cross" markerSize="4" markerFill="#FF0000"/>
			</apex:chart>
        </apex:outputPanel>

I am including the page dynamically on click of tab.
<apex:outputpanel id="includeDynamicPageId">
            <apex:insert name="pageContent" />
            <div>
                <apex:include pageName="{!childPagereference}" id="childPageId" rendered="{!isRenderChildPage}"/>
            </div>
          </apex:outputpanel>

Tried with Remoting as well but its not working.

If i go to inline page individually, then graph gets displayed. Only issue is when i use it as a include page.

Could you please help me out.

Thank you.
Warm Regards,
Amol