Questions tagged [plottable]

Plottable (also known as Plottable.js) is a JavaScript library of modular chart components that allows you to create interactive web charts. It is built on top of D3.

Official Website: http://plottablejs.org/

Official GitHub Repository: https://github.com/palantir/plottable

42 questions
0
votes
1 answer

How to Import Plottable.js

I am fairly new to javaScript. I am having issues finding out how to import and use the Plottalbe.js (along with D3 that is part of it) libraries. Can anyone show me a working example of an HTML and .js file that uses Plottable? I must have severe…
SovietFrontier
  • 2,047
  • 1
  • 15
  • 33
0
votes
1 answer

Unable to parse objects

var data = [{ x: 'A', y: 3 }, { x: 'B', y: 2 }, { x: 'C', y: 4 }, { x: 'D', y: 3 }]; var xScale = new Plottable.Scales.Category() var yScale = new Plottable.Scales.Linear() var xAxis = new Plottable.Axes.Category(xScale,…
canonball
  • 515
  • 7
  • 22
0
votes
1 answer

Bar graph on time axis with plottable.js - bar positions

How to I can align bars with related dates with plottable.js library? First bar data are from Wed 7 and second from Thu 8. Here is JSFiddle example: https://jsfiddle.net/50yq46cm/3/ function makeBasicChart() { var data =…
Havran
  • 1
  • 1
0
votes
2 answers

How can I determine if the right mouse button was clicked in a Plottable chart?

The Plottable Click Interaction doesn't pass the callback any sort of event (synthetic or otherwise) so I can't figure out a way to determine which button was clicked. Has anyone wired up the right mouse button to a Plottable chart?
Joel Mellon
  • 3,672
  • 1
  • 26
  • 25
0
votes
1 answer

Custom animation in plottable.js line chart

I am trying to use custom animation in plottable.js when data updates. Below is my code : -