This is a small document that explains which elements are generated by Flotr and how to style those elements. I gave all generated elements a classname with prefix ‘flotr-’.

Flotr Project Page » Flotr Documentation » Styling Flotr Graphs with CSS

Classes

Each element has an inline style attribute that’s used for positioning. I tried to add no other styles, because you won’t be able to override the inline styles using css. Here’s a list of element classes:

  • flotr-grid-label → Grid axis label.
  • flotr-legend → Legend wrapper element.
  • flotr-legend-color-box → Legend color box.
  • flotr-legend-label → Legend label.
  • flotr-legend-bg → Legend background element.