cancel
Showing results for 
Search instead for 
Did you mean: 

VizFrame Column chart has 500m on its y-axis scale

0 Kudos

Hello I am using version 1.44.7 of SAPUI5, How do i remove the 500m scale on my column chart? I already added the min max for its scale property yet the 500m is still there.I also tried to use the latest version still the 500m is still there

screenshot:

Here is the properties of the vizframe.

oVizFrame.setVizProperties({
     plotArea:{
                dataLabel:{/* formatString:CustomerFormat.FIORI_LABEL_SHORTFORMAT_2,*/

                    visible:false}},
            yAxis:{ 
                scale:{ 
                    fixedRange:true, 
                    minValue:0, 
                    maxValue:1.5}},
            valueAxis:{

                title:{
                    visible:false}},
            categoryAxis:{
                title:{
                    visible:false}},
            title:{
                visible:false,
                text:'Year'}});


Accepted Solutions (1)

Accepted Solutions (1)

vedaradhya
Participant

Hi Jose Angelo Mandapat,

try with label format in value axis. documentation

valueAxis: {
             label: {
		     formatString: null
		}
	}

Here, i have tried to modify you'r code.

try this one

	oVizFrame.setVizProperties({
				plotArea: {
					dataLabel: { /* formatString:CustomerFormat.FIORI_LABEL_SHORTFORMAT_2,*/
						visible: false
					}
				},
				valueAxis: {
					label: {
						formatString: null
					},
					title: {
						visible: false
					}
				},
				categoryAxis: {
					title: {
						visible: false
					}
				},
				title: {
					visible: false,
					text: 'Year'
				}
			});

Answers (1)

Answers (1)

0 Kudos

Hello Vedaradhya Agrahar

Thank you!! this solved my problem! 🙂