Skip to Content
Jun 16, 2016 at 09:47 AM

Multi Line Chart using VizFrame



I'm looking for a solution to create a multi line chart (with two dimensions/axises) like in the attached screenshot using a VizFrame (sap.viz.ui5.controls.VizFrame , XML View)

This example in the screenshot uses the deprecated controls from the package sap.viz.ui5 .

The XML code for the example is:

<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:oviz="sap.viz.ui5" xmlns:vtypes="sap.viz.ui5.types"
  xmlns:vdata="" xmlns:vizc="sap.viz.ui5.controls">
  <oviz:Line xmlns="sap.viz.ui5" id="idChartParkRight" width="100%" height="250px" >
  <vtypes:Title text="Asset Production weekly" visible="true"/>
  <FlattenedDataset xmlns="" data="{path: '/productionData', sorter : {
            path : 'WEEK' }, parameters: {select:'WEEK, WTGID, DisplayProduction' }}">
  <DimensionDefinition axis="1" name="Week" value="{WEEK}"/>
  <DimensionDefinition axis="2" name="WTGID" value="{WTGID}"/>
  <MeasureDefinition name="Production" value="{DisplayProduction}"/>

All other VizFrame Chats in my App work fine, but this is the last thing I can't solve without using the deprecated controls.

Is there a chance to convert the example to an VizFrame Chart?

Thanks in advance and best regards



clipboard.png (74.1 kB)