on 07-11-2017 1:15 PM
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);
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.