question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PointLabels and font colors as array

See original GitHub issue

Documentation Is:

  • Missing or needed
  • Confusing
  • Not Sure?

Doubt

In the version 2.9.3, before Font object implementation, the pointLabels options for linear radial axes can accept font color as an array of colors. Following the font documentation, the Font object can accept only 1 color and it seems the pointLabels can not accept an array anymore.

I’m not sure if this is

  1. a bug because pointLabels could have an array of font colors
  2. an options change because the pointLabels can accept only a color now.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
stockiNailcommented, Jun 4, 2020

@etimberg makes a lot of sense for me! Maybe not really all (for instance drawBorder in gridlines and others) where the optipon is pure configuration and it should not change at runtime…

0reactions
stockiNailcommented, Sep 17, 2020

Solved

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change label font color for a line chart using Chart.js
Yes, the scaleFontColor option changes the color of labels. You probably tried to add it to the data object, that's why it didn't...
Read more >
Data Point labels - jqPlot
The pointLabels plugin places labels on the plot at the data point locations. Labeles can use the series data array or a separate...
Read more >
Data Point labels
The pointLabels plugin places labels on the plot at the data point locations. Labeles can use the series data array or a separate...
Read more >
JavaScript Chart Full Stacked Area Series – Label - DevExtreme
Aligns point labels in relation to their points. Type: String. Default Value: 'center' ... In this case, the label's text is the same...
Read more >
Linear Radial Axis - Chart.js
pointLabels, object, Point label configuration. more. ... If specified as an array, the first color applies to the first grid line, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found