Skip to content

[Request] HTML Support in Label #8

@BlackYuzia

Description

@BlackYuzia

Feature Proposal

Function for add html tags in to center text.

Feature Use Case

This can help add icons, (example: from font awesome) in middle
Also, You can use tags like <strong>, <small> etc.
For example:
image

Possible Implementation

Example:

                plugins: {
                    doughnutlabel: {
                        labels: [
                            {
                                html-text: "<strong>" + Total + "</strong>" + " " + "<small>" + "%" + "</small>"
                            }
                        ]
                    }
                }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions