Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9138841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:18:34+00:00 2026-06-17T09:18:34+00:00

I am using flot with the plugin jquery.flot.axislabels.js, but I can’t find other documentation

  • 0

I am using flot with the plugin “jquery.flot.axislabels.js”, but I can’t find other documentation than the README file.
So the general question is “where can I find some complete documentation ?”
And the more specific one is: “How to set the label’s color ?”
Some properties are available, such as “axisLabelFontSizePixels”, “axisLabelFontFamily”, etc… so I’ve tried “axisLabelColor” and “axisLabelFontColor” without any result.

I tried to use CSS too, according to this: http://people.mozilla.com/~mcote/flot-axislabels/example/
But it does not work either. Maybe CSS is working with an older version of axislabel.js.

Ideally I’d avoid doing this with CSS, I guess that if we are able to choose the font we are able to choose the color. But I cant find what syntax I have to use…

If someone knows something, I’d be glad to read it 🙂
Thanks and regards,
S.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:18:34+00:00Added an answer on June 17, 2026 at 9:18 am

    From looking at the source code it doesn’t look like the plugin provides that option in either of it’s two modes of operation:

    1.) Draw the labels using the canvas – no ability to set color (only font family and size). If you are handy with JavaScript adding color wouldn’t be too difficult. (You are probably using this option since it explains why your CSS doesn’t work.)

    2.) Draw the labels using HTML DIVs. This is what your linked example does. In it the author specifies the color through an inline CSS tag. How I would do it though to keep it all together is after your plot call:

      $('.yaxisLabel').css('color','red');
      $('.y2axisLabel').css('color','orange');
      $('.y3axisLabel').css('color','green');
      $('.y4axisLabel').css('color','purple');
    

    Example here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Flot graphing library jQuery plugin and I haven't found a good
I am using JQuery Flot graph plugin and having some difficulties. If someone has
I'm trying to produce a line chart using Flot, but I want the data
I am developing an application using jquery mobile and flot charts. In That i
Okay to get started I am using Jquery-Flot to plot a radial graph I
Im using jquery flot for displaying chart .... i want to show dual x-axis.....
I am using jQuery/FLOT to draw a graph, I would like for the user
I planned on using the jquery charting library flot; before embarking on this adventure
I have two pages that use the flot jquery plugin, and they both work
I'm running the code below and getting an empty chart using Flot/jQuery. Ideally what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.