Skip to content

is there a way to specify text color #16

Description

@uniquejava

Hello, how can I set text color, some effect like this?
https://www.jasondavies.com/wordcloud/

I am trying this library as it has no other dependencies, thanks.

Test data I used:

  vm.data = [
    {text: 'AngularJS', weight: 25, color: '#6d989e'},
    {text: 'Redux', weight: 22, color: '#f00'},
    {text: 'React Native', weight: 25, color: '#f90'},
    {text: 'D3.js', weight: 25, color: '#00f'},
    {text: 'Vue.js', weight: 35, color: 'steelblue'},
    {text: 'React.js', weight: 25, color: '#6d989e'},
    {text: 'Angular2', weight: 35, color: '#473fa3'}
  ];

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