94
Views
1
Comments
Solved
Added a new Donut chart style
Application Type
Reactive

Hello Everyone,

I want to create a donut chart as the image below with a number located in the center of the donut chart.

Currently, As I check the donut chart widget in outsystems, it was impossible to me to do that but I really need this function. Hope someone could know how to do that and share with me. Thank you very much!

Best regards,

Nguyen Phuoc Luc

2021-06-02 20-50-04
Márcio Carvalho
Solution

I think you have the answer here in this post!

https://www.outsystems.com/forums/discussion/71941/how-can-i-create-a-donut-chart-with-the-total-value-in-the-center-of-the-chart/

Basically, you need to use this piece of code:

"{
title: {
        text: '"+Inserted Value+"',
        align: 'center',
        verticalAlign: 'middle',
        style: {
            fontWeight: 'bold',
            fontSize: 30
        }
    }
}"

Look at both solutions on the post!

Let me know if I helped you! :)

Look at the oml that I shared.

Kind Regards,

Márcio

donutchart (1).oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.