Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to achieve this type of graph with values

Hi,

What is the type of UI element should be used along with mobile library to achieve requirement like below image and set values in the chart.Please share sample code.

Regards,

Koti Reddy

Former Member
replied

I can't test it since I don't have access to JSBin right now, but let's say the custom controls are defined as :

com.business.app.custom.CircularElementCollection

com.business.app.custom.CircularElement

then in your XML view you define the namespace:

xmlns:cc="com.business.app.custom"

and you call the custom control in this way:

<cc:CircularElementCollection elements="{/}">

    <cc:elements>

        <cc:CircularElement color="{color}" value="{value}" />

    </cc:elements>

</cc:CircularElementCollection>

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question