Get Results

<Array> getResults()

Powerbar exposes getResults method returning array of plain objects:

Note that this returns data accumulated since client session start, not from the point Powerbar element is published.

Output

[{
    time: 1384775820, // local time of when data arrived
    volume: 0, // total volume at that point
    average: 0, // average volume at that point
    responses: 0 // total votes received
}
// , {...}
// , ...
]