skip to Main Content

Hi I am just trying to find if there is a way to change the color of the text that is being displayed here. This HTML is generated in Python, which I am fluent in, but not HTML. Is there just a simple way to make this white instead of black (what it is displayed at).

color_map_fe00bde8bb8162c8ee694c2404df9330.g.call(color_map_fe00bde8bb8162c8ee694c2404df9330.xAxis)
    .append("text")
    .attr("y", 21)
    .text("% of Flightsz Expected to be Delayed over 1hr period");

I heard the only way my be CSS, but this script is over 3000 lines of code. Just hoping for a one-liner solution.

Thanks!

2

Answers


  1. There was a way to do it in HTML 4 where you would use the <font> tag. However this is not supported in HTML5. Also, that is not really recommended. Right now, I think there is no way without CSS

    You may use CSS using <style> tag

    Login or Signup to reply.
  2. yeah I belive you can add bootstrap frameworks to your code and then edit the html font colors by giving them specific class names.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search