ian
3d16ab1e69
move x axis label down a bit to avoid overlap on scatter
12 years ago
ian
fd8ad4c74a
center x axis label for bar charts
12 years ago
Bob Monteverde
de75aab136
Added chart id reference to stackedArea tooltip trying to prevvent problems with different charts interacting accidentally
12 years ago
Bob Monteverde
8cd52e7dfe
Hide correct Y axis when bers or lines are not defined in linePlusBarChart
12 years ago
Bob Monteverde
cfa185d2ba
Fix minor bug with y axis screwing up in stack mode of multibar chart
12 years ago
Bob Monteverde
1edf924478
added scale adjustment to multibar to work with single data point
12 years ago
Bob Monteverde
ee0adbdd4d
Working on getting single data point to work on all charts, added scale adjustment to historicalBar to work with the linePlusBarChart
12 years ago
Bob Monteverde
de73a5719a
Added classes x-nvtooltip, y-nvtooltip, and xy-nvtooltip to the tooltips, also started working on the single data point issue with scatter and lien chart
12 years ago
Bob Monteverde
333e77e167
Updates to linePlusBar chart, as well as historical bar, fixed some issues with time series on the x axis not owrking correctly
12 years ago
Bob Monteverde
f5fa9e5de0
Added new lineChart example that utilizes SVG resizing without recalling the chart, also updated lineChart's tooltips to work with this
12 years ago
Bob Monteverde
acc85870ca
Fixed Issue #28 and set showMaxMin to false on multibar due to ordinal axis
12 years ago
Itay Neeman
46033a06cf
Add e.pointIndex to all chart tooltip calculations
12 years ago
Bob Monteverde
a6a9386700
Now stacked/grouped controls are set inside of chart call so user should be able to switch the default
12 years ago
Bob Monteverde
6c5af197ad
Fixed default value fo stacke/grouped multibar from Pull Request #43
12 years ago
Bob Monteverde
7b00276f20
Merge remote-tracking branch 'itay/feature/fix-wrong-series'
12 years ago
Bob Monteverde
bd58161273
Minifying Pull Request #66 plus a minor tweak
12 years ago
Bob Monteverde
7b195d9f6d
Merge remote-tracking branch 'itay/feature/fix-linebar-chart-incorrect-tooltip'
12 years ago
Bob Monteverde
2c052ac6aa
Merge remote-tracking branch 'itay/feature/fix-linebar-chart-tooltip'
12 years ago
Itay Neeman
d737029bd2
Fix incorrect date in tooltip of line+bar chart ( #23 )
...
In a line+bar chart, the date was being set incorrectly due to the fact
we did not pass in the point index to the x-axis computation.
This fix passes it in, so now the tooltip can be calculated correctly.
12 years ago
Itay Neeman
5c3dff719c
Fix line+bar chart tooltip
...
There is a bug in the line+bar chart that caused the tooltip to keep
being append with left/right axis information. We fix this by saving
the original key and using that for the append.
12 years ago
Itay Neeman
8a08435415
Fix a bug where the tooltip might show an incorrect stream ( #62 )
...
If you disabled a series in a multi-bar chart (either horizontal or
vertical), you would get incorrect tooltips. This was caused by the
fact that we only set the mouseover on the `enter()` elements, which
meant that nothing was being set when the chart was updated due to the
hiding. This caused us to close over the original value of the data
The fix is to set the mouseover on the entire selection, which updates
it every time the chart is updated. This also contains a small fix to
the horizontal multi-bar chart to have a more descriptive tooltip.
12 years ago
Itay Neeman
18713b6b19
Fix the ability to rotate labels ( #22 )
...
It turns out there was a bug in d3 2.9.2 that made the transition
continuously override the text-anchor property. This was fixed here:
https://github.com/mbostock/d3/pull/684
This pull request contains d3 2.9.6, and also makes a small fix to
handle both negative and positive rotations. Finally, it updates the
discreteBarChart sample to use it.
12 years ago
Bob Monteverde
c146ab7787
Merging in Pull Request #61
12 years ago
Itay Neeman
ac3392519d
Fix horizontal bar charts not updating correctly ( #54 )
...
Horizontal bar charts didn't update correctly - the data that the width
was calculated by was bound to previous values.
The fix was to use `select()` instead of `selectAll` on the bars
themselves (since there is only a single `rect` element in each). This
is because `selectAll` doesn't propagate data bindings, per the
following links:
https://groups.google.com/forum/?fromgroups#!topic/d3-js/PUansS150J0
https://groups.google.com/forum/?fromgroups#!topic/d3-js/272vChmijIw
It works the first time because of the `.enter()` definition which will
cause data to propagate, as mentioned in the above threads.
12 years ago
ian
0a5b34308a
center y axis label
12 years ago
Bob Monteverde
54bcb6d971
Added defined to all line charts that defaults to not defined when something cannot be parsed to a number, feature added to fix problem noted in Issue #57
12 years ago
Bob Monteverde
5b99f6159b
Mergin in Pull Request #56
12 years ago
EricRose
2b8f12d6bf
Added a public method to PieChart to allow users to opt not to show the legend
12 years ago
Bob Monteverde
6a4e969303
Fix scatter magnify where clicking on points does not pause, now clicking anywhere, points and background will pause it
12 years ago
Bob Monteverde
cc95d977d8
Exposing x2 and y2 axis on line with focus chart so user can set different if needed, BUT user must set both now
12 years ago
Bob Monteverde
eb313cc7ec
Issue #31 added accessor for tooltips and tooltipContent on multibar
12 years ago
Bob Monteverde
88d538287b
Issue #41 fixed legend height updating available height on line plus bar chart
12 years ago
Bob Monteverde
2274156100
Issue #44 Limiting legend to 50% width on line plus bar
12 years ago
Bob Monteverde
f46328a585
Merging in Pull Request #53
12 years ago
Bob Monteverde
2634e157cf
Merging in Pull Request #51
12 years ago
Alexandre Rocha Lima e Marcondes
c9717f0427
* Interpolate should have been rebound from the lines:
...
d3.rebind(chart, lines, 'interpolate');
12 years ago
Itay Neeman
0355c9cbe5
Make lineWithFocusChart have consistent x and y value getters
...
lineWithFocusChart uses two separate line charts, and this change
ensures that any x/y value getter (e.g. `chart.x(...)`) set on the main
line chart is also migrated to the focus chart.
12 years ago
Alexandre Rocha Lima e Marcondes
d513dee197
* Interpolation on line and line related charts
12 years ago
Bob Monteverde
8cc955c29c
whitespace cleanup in scatterChart
12 years ago
Bob Monteverde
58de184cf9
slight tweaks to scatterChart and css
12 years ago
Bob Monteverde
89172ff42e
Fix issue where disabled series show up when magnify is enabled
12 years ago
Bob Monteverde
bfb1f2db25
Cleaning up scatterChart, fixed a few issues that had no tickets
12 years ago
Bob Monteverde
631e50f684
trying out common comment structure in scatter, soon the rest will have it
12 years ago
Bob Monteverde
c6e4ffb5c5
Stage 1 of cleanup continued
12 years ago
Bob Monteverde
ab80bda59c
Stage one of major code cleanup / consistency check
12 years ago
Bob Monteverde
53401adab5
Merging in Pull Request #43 fixiing Issue #42 MultibarChart set to stacked, the controls default value is wrong
12 years ago
Bob Monteverde
292256bab7
Merging in Pull Request #46 allow updating delay for multiBarChart
12 years ago
Bob Monteverde
35ba44bd9f
Issue #38 let user set custom scales on the satckedAreaChart
12 years ago
Luke Steensen
a7c4b0fe06
regenerate compiled files
...
also undo mistake deletion from last commit
12 years ago
Luke Steensen
575a4efce7
allow updating delay for multiBarChart
12 years ago
Jun Lin
d1f7cdf286
fixed #42 set multibar default to stacked, the controls default value is wrong
12 years ago
Philip Roberts
a04cc0fa07
Fix accidental semicolon in var list causing
...
variables afterwards to be globals in multiBarChart.
Fixes #35 .
12 years ago
Bob Monteverde
6a35569ca2
LOTS of tweaks to discreteBar and Axis. Only pad for the correct values if showValues, reduce unnused margins, prevent overlapping labels on axis with showMaxMin
12 years ago
Bob Monteverde
5dcc2b7402
fixed incorrect api name, valueFormat, NOT valuesFormat
12 years ago
Bob Monteverde
04e68e9295
fixed issue with max and min labels overlapping on y axis
12 years ago
Bob Monteverde
e7a8665705
fixing issues with labels not being positions correctly in firefox
12 years ago
Bob Monteverde
feed538cee
configurable open and close options now in api
12 years ago
Bob Monteverde
c9011f5f22
updated lineWithFisheye example, and boosted max zoom to 5x
12 years ago
Bob Monteverde
879cf06e09
Removed shape from scatter, replaced with getShape, defaults to function(d) { return d.shape || 'circle' }
12 years ago
Bob Monteverde
7b780350fb
working on fixing multibar x axis with showMaxMin is false
12 years ago
Bob Monteverde
5d5488dbb6
Fix issue where pie chart lets you disable all series then series doesn;t come back when re-enabled
12 years ago
Bob Monteverde
9d726ac9ab
some updates to the pie css to make interaction sexier
12 years ago
Bob Monteverde
09a55af5f5
Pie charts should use the same data as discreteBar for ease of switching between
12 years ago
Bob Monteverde
ecb80cb4b8
If Max / Min contains 'NaN' don't show it on axis
12 years ago
Bob Monteverde
6c66e371e5
fix default height on bulletChart
12 years ago
Bob Monteverde
6da248bd19
defined local variable container in bulletChart
12 years ago
Bob Monteverde
94d44b7cec
If you don't set width, bullet chart gets container's.. height is static but can be changed manually
12 years ago
Bob Monteverde
c5dad2c36a
fixing variable name
12 years ago
Bob Monteverde
d57bd67074
reworked bullet a little bit and created bulletChart
12 years ago
Bob Monteverde
e07921f473
Added rotate labels functionality, but text-anchor: end is not working, auto switches to middle
12 years ago
Bob Monteverde
d79f39915b
Issue #18 added labelThreshold to pie to disable showing the label under a given percent, defaults to 2%
12 years ago
Bob Monteverde
4ab57cb38f
Issue #19 Fixing label offset for FF, and increasing the disatnce from vertical axis maxand min from 8 to 10 to prevent overlap
12 years ago
Bob Monteverde
e4d62172d9
updates to pie chart, removed initial transition, but updated disabled/enable transition
12 years ago
Will McKenzie
8a26f292f1
Enabled configuration of open and close icons in indentedTree
...
Added chart.iconOpen and chart.iconClose in the same format as
chart.tableClass etc that will return the current setting for either
icon value unless an argument is supplied, in which case they will
replace the settng with the new value and return the chart.
12 years ago
Bob Monteverde
42aa8ad2ca
if no offset element is given, assume 0 on pieChart, because pieChart uses mouse position for tooltips right now
12 years ago
Bob Monteverde
a61bdfc2b2
new pieChart, and lots of updates to pie implementation... still need to tweak a few things, including animation when series are disabled
12 years ago
Bob Monteverde
f5db7e43a8
Cleaned up the pie implementation a little more, and moved the old pie to deprecated. Will be making pieChart.js shortly that will have an optional legend and tooltips built in.
12 years ago
Bob Monteverde
777280bcd6
cleaning up new pie chart implementation
12 years ago
Bob Monteverde
ddf49f809a
updating the pie chart to be consistent with others... will end up zsplitting ti to pie.js and pieChart.js shortly
12 years ago
Bob Monteverde
debb64def2
updated indexify function, instead of returning a new data object stores the new cumulative y value at d.display.y, keeping the original at d.y
12 years ago
Bob Monteverde
f2cd0ed629
Moved cumulativeLine.js to deprecared, cumulativeLineChart.js is the up to date version of it
12 years ago
Bob Monteverde
b396b0e155
updated line implementation to be consistent with other models
12 years ago
Bob Monteverde
37f8f42c3e
cleaning up line.js to be consistent with eevrythign else, and hopefully perform a litttle better
12 years ago
Bob Monteverde
8e00a8060d
lineWithFisheye... first try.. SUPER SLOW
12 years ago
Bob Monteverde
25883d2a5e
removing the delay on the horizontal bar for now, also making sure 0 ticks are never removed from the axis
12 years ago
Bob Monteverde
d1c2f59cd9
trying out a chart.container idea to get a reference to the DOM element the chart is plotted in to help with a auto resize functionality, and may have other uses
12 years ago
Bob Monteverde
c494172fe2
Added Max/Min to horizontal axes, on by default, but can be disabled with showMaxMin(false) on the axis component
12 years ago
Bob Monteverde
755af6e9d4
Issue #11 major refactor of stackedArea, still need to tweak some things, BUT now works with custom accessors
12 years ago
Bob Monteverde
7065557fde
scatterWithFisheyeChart is now scatterChart
12 years ago
Bob Monteverde
ea31b3ab1c
Issue #10 fixed distributions from showing disabled points
12 years ago
Bob Monteverde
135be08bde
axis max and min now fades in
12 years ago
Bob Monteverde
6395011805
trickling down the tickFormatter from the main y and x axes to the view finder axes
12 years ago
Bob Monteverde
72c91548de
don't hide axis on horizontal bar
12 years ago
Bob Monteverde
a72645dbe4
Issue #9 Fixed issue with distributions not accurate when series are disabled. Also made distributions fade out when removed
12 years ago
Bob Monteverde
879c1db200
turning off showMaxMin on the ordinal horizontlal bar axis
12 years ago
Bob Monteverde
c856a295e4
axis Max and Min now animate from where they would have appeared wih previous scale
12 years ago
Bob Monteverde
131b47cd95
Much cleaner scatterWithFisheye code this time. Will likely merge into scatterChart soon.
12 years ago
Bob Monteverde
b55910786d
Axes now show Max and Min by default... need to rebind this on all the charts.. will do that soon
12 years ago
Bob Monteverde
cf0d7bb799
fixed distributions and scatter hover
12 years ago
Bob Monteverde
48a0e7c5b0
Intial distribution abstraction complete and implemented into the scatterChart
12 years ago
Bob Monteverde
2f10fbd887
some progress on the abstracted distribution
12 years ago
Bob Monteverde
0d0af062d4
Working on abstracting the poitn distribution, not complete
12 years ago
Bob Monteverde
8b850258d1
new fisheye code... somewhat sloppy.. will be re-writing some components in order to do things more 'correctly'
12 years ago
Bob Monteverde
cf8f7ca21a
removing old fishey code from scatter, and updating to new fisheye
12 years ago
Bob Monteverde
7c4471003b
added note about resize being stolen from cross filter... tho 90% of the ideas in nvd3 are originated from the same people... will give credit shortly
12 years ago
Bob Monteverde
787b58cd83
Stole crossfilter's resize handlers and implement on the lineWithFocus
12 years ago
Bob Monteverde
4ab9b0a305
options is now columns in the indentedTree, but still considering breaking this down further
12 years ago
Bob Monteverde
b854082118
Slowely getting rid of options object.. down to jsut the columns
12 years ago
Bob Monteverde
772c5e660b
default widths on table columns are now in percent, but user can voerride with anything
12 years ago
Bob Monteverde
851bc9749a
Removing highlight class from table rows... still need to update API to remove the options object
12 years ago
Bob Monteverde
d5a8970485
removing most style on the table
12 years ago
Bob Monteverde
e15206f2a9
Created the initial code for an HTML indented tree... will be changing API and styles for it shortly
12 years ago
Bob Monteverde
a019088aac
Added legendDblclick event in legend.dispatch
12 years ago
Bob Monteverde
b9a8e0baaa
Colors no longer have a ahrd limit of 10 or 20, they are dependant on how many colors are fed to teh chart, the default being 10 or 20, but suer can difine as many as they want
12 years ago
Bob Monteverde
0d68690315
Added stacked area chart example, now showing a positive and negative version of the chart
12 years ago
Bob Monteverde
8bbf9f1631
Issue #7 - Fixed tooltip positions in Firefox (and hopefully in IE9)
12 years ago
Bob Monteverde
4663355b99
Tweaked height calculation on legend
12 years ago
Bob Monteverde
07e210b2d0
Implemented d3 fisheye plugin on the scatter. Defaults to off. Does not work with Axes, so may not be useful. Also prevents otehr interaction when on.
12 years ago
Bob Monteverde
f24490f1e3
Added align options, defualting to true, to align up each row of legend. WARNING may make legen take up MORE ROWS.
12 years ago
Bob Monteverde
6bbe097e04
Stacked ares in stream mode now shows the same tooltips as stacked
12 years ago
Bob Monteverde
a940b0d65a
Added optional delay to multibar chart to ne consistent with the horizontal multibar
12 years ago
Bob Monteverde
2f155b88c8
Some tweak to the horizontal multi bar, now the staggered delay is option, defaulting to 1200ms divided by the number of x values
12 years ago
Bob Monteverde
a10101744d
discrete bar chart no longer animates horizontally, only vertically
12 years ago
Bob Monteverde
8d9f496286
LinePlusFocus now rescales when series are removed. Also moved a couple more files to deprecated, and removed from Makefile
12 years ago
Bob Monteverde
51fc28358b
New lineWithFocusChart, and example
12 years ago
Bob Monteverde
f6bc583e9a
Fixed error from dist Lines on mouseover then line disable... same problem that was with points on hover
12 years ago
Bob Monteverde
6e4eaea547
Fixed major bug that throws lots of errors everytime a point is overed over then transitioned... this was 95% of all errors seen in console
12 years ago
Bob Monteverde
34850d6c54
Scatter now use's d3's symbol to use different shapes, changed css, points on line charts are now completely hidden untill hover.
12 years ago
Bob Monteverde
9e54787e40
Fixed animation speed double after re-zero drag
12 years ago
Bob Monteverde
834caa51df
Fixed cumualtive line legend click toggle of series
12 years ago
Bob Monteverde
480403b04a
Added new cumulativeLineChart, debating on merging into lineChart or not, not in Makefile yet
12 years ago
Bob Monteverde
e28f6f5ae7
Fixing tooltip positions accoutning for margin
12 years ago
Bob Monteverde
6b9b4431da
Corrected the gravity of the Y axis tooltip
12 years ago
Bob Monteverde
56e61b814a
fixing scatter position to account for offset
12 years ago
Bob Monteverde
f18c20ac27
Fixing dual scatter tooltip position
12 years ago
Bob Monteverde
5b6ff09e99
Switched scatter plot to dual tooltips
12 years ago
Bob Monteverde
ead4f5b723
Getting stuff ready to be cleaned, moving stuff that will be deleted into the deprecated folder
12 years ago
Bob Monteverde
b35a9e6f64
Updates to linePlusBarChart
12 years ago
Bob Monteverde
04c11e3bde
Fixed height and width getter/setters and started working on linePlusBarChart, halfway done
12 years ago
Bob Monteverde
601d598b34
Created scatterplotChart and example
12 years ago
Bob Monteverde
bfcdae6dde
Fixed multiBar exit transition
12 years ago
Bob Monteverde
854347afab
Added update function to multibar chart
12 years ago
Bob Monteverde
2b26f44a8c
Added multiBarChart and example
12 years ago
Bob Monteverde
c374e078fc
Added color to multiBarWithLegend
12 years ago
Bob Monteverde
542dc094f9
Fixed legend height and margin.top issue in the ready to go charts. Also re organized code a little bit for consistency
12 years ago
Bob Monteverde
2cb05b38d0
Some minor tweaks to fix the enable/disable series ability on satckedArea
12 years ago
Bob Monteverde
b9f39f6b0e
Major re-write of stackedArea, series are now disabled in the exact same way as the other charts, among other critical fixes
12 years ago
Bob Monteverde
ea597f30e1
attempting to fix random bug woth stacked area paths on removal
12 years ago
Bob Monteverde
b4ca744451
Lots of little bug and consistency fixes that are appearing as I create more examples
12 years ago
Bob Monteverde
634518c73c
upgraded to d3 2.9, also minor change to multibar accessor
12 years ago