This is a migrated thread and some comments may be shown as answers.

Data-format attr. for pie Chart with MVVM

1 Answer 97 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Federico
Top achievements
Rank 1
Federico asked on 15 Jun 2017, 02:00 PM

How do I set the date-format of a pie chart with mvvm?

I would like a result like this(attached file)

 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 19 Jun 2017, 05:28 AM
Hello,

The question seems to be the same as in the other forum thread that you have opened. For convenience I am pasting my reply below:

The format can be set the same way when using the declarative initialization - via the series or seriesDefaults labels format option e.g.
data-series-defaults="{ type: 'column', labels: { format: '{0}%' } }"
Please check this documentation topic for information on setting the options with the data attribute initialization.

Regards,
Daniel
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Charts
Asked by
Federico
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or