PHPackages                             oro/flotr2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. oro/flotr2

AbandonedArchivedComponent

oro/flotr2
==========

1.0.0(7y ago)14JavaScript

Since May 2Pushed 7y ago5 watchersCompare

[ Source](https://github.com/oroinc/flotr2)[ Packagist](https://packagist.org/packages/oro/flotr2)[ RSS](/packages/oro-flotr2/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Flotr2
======

[](#flotr2)

The Canvas graphing library.

[![Google Groups](https://camo.githubusercontent.com/a813c3cf85c106dca97b190d57221a252ac65596bb04c3ebc4b0871b96b462dc/687474703a2f2f67726f7570732e676f6f676c652e636f6d2f696e746c2f656e2f696d616765732f6c6f676f732f67726f7570735f6c6f676f5f736d2e676966)](https://camo.githubusercontent.com/a813c3cf85c106dca97b190d57221a252ac65596bb04c3ebc4b0871b96b462dc/687474703a2f2f67726f7570732e676f6f676c652e636f6d2f696e746c2f656e2f696d616765732f6c6f676f732f67726f7570735f6c6f676f5f736d2e676966)

Please fork  with your question or bug reproduction case.

API
---

[](#api)

The API consists of a primary draw method which accepts a configuration object, helper methods, and several microlibs.

### Example

[](#example)

```
  var
    // Container div:
    container = document.getElementById("flotr-example-graph"),
    // First data series:
    d1 = [[0, 3], [4, 8], [8, 5], [9, 13]],
    // Second data series:
    d2 = [],
    // A couple flotr configuration options:
    options = {
      xaxis: {
        minorTickFreq: 4
      },
      grid: {
        minorVerticalLines: true
      }
    },
    i, graph;

  // Generated second data set:
  for (i = 0; i
