on 04-01-2019 9:13 AM
Hi All,
I need to increase the width and height for RadialMicroChart in SAPUI5. Can you please suggest me.
Hi @duraidurai.venkateshdurai.venkatesh,
The radial micro chart comes with size property as XS, S, M, L
you can try the following code to increase the size:
<Panel headerText="RadialMicroChart size property">
<Label text="XS" /><micro:RadialMicroChart size="XS" percentage="45" press="press"></micro:RadialMicroChart>
<Label text="S" />
<micro:RadialMicroChart size="S" percentage="45" press="press"></micro:RadialMicroChart>
<Label text="M" />
<micro:RadialMicroChart size="M" percentage="45" press="press"></micro:RadialMicroChart>
<Label text="L" />
<micro:RadialMicroChart size="L" percentage="45" press="press"></micro:RadialMicroChart>
<Label text="Auto: M for desktop and tablet and S for phone" />
<micro:RadialMicroChart size="Auto" percentage="45" press="press"></micro:RadialMicroChart>
<Label text="Responsive: Size of its container (default)" />
<micro:RadialMicroChart size="Responsive" percentage="45" press="press"></micro:RadialMicroChart>
</Panel>
Giving custom height to the micro chart can affect the chart's functionality. If still, you need to give custom height, you should create a custom control extending the properties of Microchart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.