JavaScript Add styles to AmCharts 4 labels

I have a cylinder bar chart in AmCharts 4 that uses a darker color scheme. The text color for the labels on the bars is black and is not really showing on darker colors.

- I am using the javascript code illustrated in AmChart's Demos for the Cylinder 3D Chart.

Dark Chart with unreadable labels

Is there a way to add css to the label/label text?

I would like to add a white text-shadow to the label to make it readable. Also, this way, it won't affect the text when it is over the white chart background.

Edit: 12/18/2018 - I am looking for the text to be closer to something like this: Readable Chart Labels

These will be able to be seen, even if the bar is short and the text lays against the white background.

Answer:1

I'm dealing with a div element that has a generic class with no ID (so I can't use select getElementById or getElementByClass) and I'm trying to select the element by type and field from the following:...

I'm dealing with a div element that has a generic class with no ID (so I can't use select getElementById or getElementByClass) and I'm trying to select the element by type and field from the following:...

  1. the content of element type field must match
  2. field element type

How can I set an expiration time on a specific local storage variable? Example: If I have a page disclaimer and once the user clicks "accept" I store a certain variable in the local storage. However ...

How can I set an expiration time on a specific local storage variable? Example: If I have a page disclaimer and once the user clicks "accept" I store a certain variable in the local storage. However ...

  1. local storage with react
  2. local storage with jquery
  3. local storage with expiration
  4. local storage with javascript
  5. local storage with json
  6. local storage with redux
  7. local storage with expiration date
  8. local storage with angular
  9. local storage with react native
  10. local storage with php
  11. local storage with array
  12. local storage with vue
  13. local storage with angularjs
  14. local storage with python
  15. local storage with react js
  16. local storage with ngrx
  17. local storage with swift
  18. local storage with store
  19. local storage in angular 6
  20. local storage in html5

I've a function to update the DB rows one by one with Parse's promise exports.update = function (items, successHandler, errorHandler) { Parse.Cloud.useMasterKey(); var Item = Parse.Object....

I've a function to update the DB rows one by one with Parse's promise exports.update = function (items, successHandler, errorHandler) { Parse.Cloud.useMasterKey(); var Item = Parse.Object....

  1. nested promise in node js
  2. nested promise in javascript
  3. nested promise in angularjs
  4. nested promise in js

Is there a shorter more efficient way of doing this? it seems a little hefty and I just want to know if it can be condensed? var y = [] for(let i=0;i < word.length;++i){ if(word[i] == "A"||...

Is there a shorter more efficient way of doing this? it seems a little hefty and I just want to know if it can be condensed? var y = [] for(let i=0;i < word.length;++i){ if(word[i] == "A"||...