cancel
Showing results for 
Search instead for 
Did you mean: 

Viz Frame display combined chart

Former Member
0 Kudos

Hello,

I want to display more than one viz chart in the same frame .

I have in the beginnig an initial chart in a dialog popup, and when i click on a button add , i have to choose any other element to show its graph . but when i select the new element , i just get the new graph without getting the initial one .

This is the code of my viz frame :

<layout:FixFlex id='chartFixFlex' minFlexSize="250">
				        <layout:flexContent>
				            <viz:Popover id="idPopOver"></viz:Popover>
				            <viz:VizFrame id="idVizFrame" uiConfig="{applicationSet:'fiori'}"
				                height='400px' width="100%" vizType='timeseries_line'>
				                <viz:dataset>
				                    <viz.data:FlattenedDataset data="{/}">
				                        <viz.data:dimensions>
				                            <viz.data:DimensionDefinition name="{i18n>DATE}"
				                                value="{date}" dataType="date"/>
				                        </viz.data:dimensions>
				                        <viz.data:measures>
				                            <viz.data:MeasureDefinition name="{Dialog>/valueUnit}" identity="ValueUnit"
				                                value="{Value}" />	
				                              <viz.data:MeasureDefinition name="{Dialog>/valueUnit}" identity="ValueUnit"
				                                value="{Value}" />	
				      				          				                             
				                        </viz.data:measures>				   
				                    </viz.data:FlattenedDataset>
				                </viz:dataset>				
				                <viz:feeds>
				                    <viz.feeds:FeedItem uid="valueAxis" type="Measure"
				                        values="ValueUnit" />  
				                                                
				                    <viz.feeds:FeedItem uid="timeAxis" type="Dimension"
				                        values="{i18n>DATE}" />
				                </viz:feeds>
				            </viz:VizFrame>
 </layout:flexContent>
			    	</layout:FixFlex>	



And this is how i call function to draw the chart :

VizLineChart.initChartSettings(oView,data);

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member196805
Contributor
0 Kudos

Sorry, I am confused. You said your user "have to choose any other element" to show it's graph. Now you wish to show the initial graph, but not the new graph, even your user have chosen a new element...