Open GoogleCodeExporter opened 9 years ago
Can you provide an example of an element you'd want to change this way?
Original comment by dnsch...@gmail.com
on 7 Sep 2012 at 9:37
Certainly, a number of simple examples can be found in the legend, for instance:
.legendColorBox > div {
border: none;
}
This will not work as expected unless the "!important" declaration is appended
(border: none !important;).
Another example that I personally noticed was issues with element styling, I
had all table's set with a "width: 100%" before I rolled out flot, it didn't
occur to me that I might need to customize the styling of flot elements to
account for these blanket changes, something that might have been more obvious
had a separate CSS file been included.
I should note an obvious problem with this, in the fact that if some things
could be customized via CSS, such as the legend, it might seem odd that other
things such as the colors, and axis elements required javascript for
customization.
Seeing as axis drawing was moved from the DOM to canvas (looking at the News
file), I feel as though issue 519 would be a better solution moving forward, as
it's more consistent with how flot currently functions.
If issue 519 isn't high on the roadmap, I'll write and test a patch for issue
749.
Either way, this issue can probably be closed.
Original comment by anthonyr...@gmail.com
on 13 Sep 2012 at 1:30
Original issue reported on code.google.com by
anthonyr...@gmail.com
on 31 Aug 2012 at 9:49