cancel
Showing results for 
Search instead for 
Did you mean: 

VizFrame chart properties without effect

0 Kudos
501

Hello everyone,

I use the following statement to create a VizFrame column chart:


new sap.viz.ui5.controls.VizFrame(this.createId("vizFrame"), {

         uiConfig : {

            applicationSet : 'fiori'

         },

         vizProperties : {

            interaction : {

               selectability : {

                  mode : "none"

               }

            },

            title : {

               visible : false

            },

            legend : {

               visible : false

            },

            yAxis : {

               label : {

                  visible : false

               }

            }

         },

         vizType : "column",

         width : "1000px",

         height : "250px"

      })

While some properties such as title.visible = false work, others such as yAxis.label.visible or interaction.selectability.mode seem to be ignored.

Does somebody have an idea which cause this might have?

I tried to check if those settings "reach" sap-viz by calling oVizFrame.getVizProperties() after the vizFrame instantiation. However, this yielded the following exception: Uncaught TypeError: Cannot read property 'legendGroup' of undefined sap-viz-controls.js:2

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member191827
Discoverer
0 Kudos

Hello Benjamin,

try to take away

  1. uiConfig : { 
  2.             applicationSet : 'fiori' 
  3.          }, 


I had some problems with it too.