sangltdn / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

changing tickColor #298

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I'm testing a checkBox to change the color of the tick.

if(checked){
  $.plot($("#vecteurGraph"), data,
    $.extend(true, {}, options, {
      grid:{tickColor: "#bababa"}
    })
  );
}
else{
  $.plot($("#vecteurGraph"), data,
    $.extend(true, {}, options, {
      grid:{tickColor: "#000000"}
    })
  );
}

And this is my options:
var options = { 
  grid:{
    hoverable: true,
    backgroundColor: "#ffffff",
    tickColor: "#bababa",
    mouseActiveRadius: 5
  }

But if checked is true, ths tick are more black, and when I click on my
checkBox (value=false) ths color is not white, but original grey.

I didn't find doc about $.extend...

And a second question, is there tick marker???

Original issue reported on code.google.com by riche.ol...@gmail.com on 2 Feb 2010 at 3:29

GoogleCodeExporter commented 9 years ago
I can't find any problems with changing tick colors; that seems to work as 
expected.  Can you please describe your problem in a little more detail?

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 7:42

GoogleCodeExporter commented 9 years ago
Marking as invalid due to no further response for a month.

Original comment by dnsch...@gmail.com on 10 Jul 2012 at 11:37