Commit Graph

254 Commits

Author SHA1 Message Date
Bob Monteverde
82f4942290 Fixed issue with pan when hitting max/min, part of Issue #79 2012-07-19 18:28:34 -04:00
Bob Monteverde
83db5bc1a0 moved view finder x axis to behind the brushBackground to make it more obvious what data is selected 2012-07-19 16:21:37 -04:00
Bob Monteverde
89ff985793 Changed greyed out view finder to white out to imititate an opacity mask, also fixed issue where value bars would not hover 2012-07-19 14:41:02 -04:00
Bob Monteverde
a7b9b113ce Fixed drag ratio, now is 1 to 1 with main data view 2012-07-19 11:33:47 -04:00
Bob Monteverde
7731a609aa working on adding drag functionality to main view... its working, but its not calculated correctly, so it moves too fast 2012-07-19 11:27:31 -04:00
Bob Monteverde
59dddeb652 Added height2 and height3 to historical stock charts public functions, also tweaked the default values 2012-07-19 06:38:40 -04:00
Bob Monteverde
d3b1dcdb4e Lots of tweaks to historical stock 2012-07-19 06:12:33 -04:00
Bob Monteverde
d1ebad10e4 Highlight window and dim rest of view window, works in FF< but having issues withthe clipping in chrome 2012-07-19 04:59:22 -04:00
Bob Monteverde
f6caf91de4 Fix y extent calculations on OHLC bar, which fixes it in the historical stock chart 2012-07-19 02:44:09 -04:00
Bob Monteverde
bcd574c70b Fixed issue with OHLC bar in FF where close line was missing, part of Issue #79 2012-07-19 02:32:56 -04:00
Bob Monteverde
3daa1b969f isArea is now passed thru d3.functor so user can just set true or false instead of having to wrap that in a function. Set isArea(false) on historicalStockChart 2012-07-19 02:20:54 -04:00
Bob Monteverde
960eb3f377 added option to make a line and area, and added chart.isArea() to all relevant charts 2012-07-19 02:15:53 -04:00
Bob Monteverde
01df69bc68 Minifying Pull Request #78 2012-07-18 23:34:47 -04:00
Bob Monteverde
c6cc17f0cf added ohlcBar and historicalStockChart to makefile and minified 2012-07-18 01:59:09 -04:00
Bob Monteverde
93066940b7 Working on historicalStock model, fixed minor issue with axis now lets you set the width for positioning the axislabel 2012-07-17 16:07:07 -04:00
Bob Monteverde
57988c2769 Minifying Pull Request #74 and #72 2012-07-17 13:47:11 -04:00
Bob Monteverde
de75aab136 Added chart id reference to stackedArea tooltip trying to prevvent problems with different charts interacting accidentally 2012-07-16 17:59:05 -04:00
Bob Monteverde
8cd52e7dfe Hide correct Y axis when bers or lines are not defined in linePlusBarChart 2012-07-16 17:16:13 -04:00
Bob Monteverde
cfa185d2ba Fix minor bug with y axis screwing up in stack mode of multibar chart 2012-07-16 17:10:02 -04:00
Bob Monteverde
1edf924478 added scale adjustment to multibar to work with single data point 2012-07-16 17:03:24 -04:00
Bob Monteverde
ee0adbdd4d Working on getting single data point to work on all charts, added scale adjustment to historicalBar to work with the linePlusBarChart 2012-07-16 17:00:41 -04:00
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 2012-07-16 15:27:15 -04:00
Bob Monteverde
a8b080640f Merging in most of PullRequest #16 2012-07-16 13:52:24 -04:00
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 2012-07-15 08:49:59 -04:00
Bob Monteverde
f5fa9e5de0 Added new lineChart example that utilizes SVG resizing without recalling the chart, also updated lineChart's tooltips to work with this 2012-07-15 02:55:32 -04:00
Bob Monteverde
9d3ded6566 Added nv.log for convenient inplace logging in dev mode thats omitted when not in dev 2012-07-15 02:00:56 -04:00
Bob Monteverde
acc85870ca Fixed Issue #28 and set showMaxMin to false on multibar due to ordinal axis 2012-07-14 17:38:36 -04:00
Bob Monteverde
66f5b1a890 Minifying Pull Request #67 2012-07-14 17:25:31 -04:00
Itay Neeman
0f7ca82e1d Merge remote-tracking branch 'novus/master' 2012-07-13 23:23:50 -07:00
Bob Monteverde
a6a9386700 Now stacked/grouped controls are set inside of chart call so user should be able to switch the default 2012-07-14 01:26:04 -04:00
Bob Monteverde
6c5af197ad Fixed default value fo stacke/grouped multibar from Pull Request #43 2012-07-14 01:11:25 -04:00
Bob Monteverde
7fffe34a08 Minifying Pull Request #65 2012-07-14 00:19:53 -04:00
Bob Monteverde
bd58161273 Minifying Pull Request #66 plus a minor tweak 2012-07-14 00:14:17 -04:00
Bob Monteverde
862c04cfdf Minifying Pull Request #64 2012-07-14 00:10:12 -04:00
Bob Monteverde
dff61c303c Minifying Pull Request #63 2012-07-14 00:07:59 -04:00
Itay Neeman
b82bacd322 Update compiled files in master 2012-07-13 19:13:29 -07:00
Bob Monteverde
c146ab7787 Merging in Pull Request #61 2012-07-13 14:56:35 -04:00
Bob Monteverde
cd5ede7a84 Minifying pull request #60 2012-07-13 14:17:16 -04:00
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.
2012-07-13 00:45:25 -07:00
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 2012-07-12 15:40:16 -04:00
Bob Monteverde
5b99f6159b Mergin in Pull Request #56 2012-07-12 14:33:11 -04:00
Bob Monteverde
5bbd533ab4 Minifying Pull Request #55 2012-07-12 14:30:48 -04:00
EricRose
2b8f12d6bf Added a public method to PieChart to allow users to opt not to show the legend 2012-07-11 22:45:56 -07:00
Bob Monteverde
6a4e969303 Fix scatter magnify where clicking on points does not pause, now clicking anywhere, points and background will pause it 2012-07-12 01:17:02 -04:00
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 2012-07-12 01:07:36 -04:00
Bob Monteverde
eb313cc7ec Issue #31 added accessor for tooltips and tooltipContent on multibar 2012-07-12 00:36:30 -04:00
Bob Monteverde
88d538287b Issue #41 fixed legend height updating available height on line plus bar chart 2012-07-12 00:28:02 -04:00
Bob Monteverde
2274156100 Issue #44 Limiting legend to 50% width on line plus bar 2012-07-12 00:24:23 -04:00
Bob Monteverde
f46328a585 Merging in Pull Request #53 2012-07-11 20:46:59 -04:00
Bob Monteverde
2634e157cf Merging in Pull Request #51 2012-07-11 20:41:48 -04:00
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.
2012-07-11 10:06:57 -07:00
Alexandre Rocha Lima e Marcondes
d513dee197 * Interpolation on line and line related charts 2012-07-10 16:27:20 -03:00
Bob Monteverde
8cc955c29c whitespace cleanup in scatterChart 2012-07-10 01:44:57 -04:00
Bob Monteverde
58de184cf9 slight tweaks to scatterChart and css 2012-07-10 01:39:58 -04:00
Bob Monteverde
89172ff42e Fix issue where disabled series show up when magnify is enabled 2012-07-10 01:25:27 -04:00
Bob Monteverde
bfb1f2db25 Cleaning up scatterChart, fixed a few issues that had no tickets 2012-07-10 01:15:23 -04:00
Bob Monteverde
631e50f684 trying out common comment structure in scatter, soon the rest will have it 2012-07-10 00:16:26 -04:00
Bob Monteverde
c6e4ffb5c5 Stage 1 of cleanup continued 2012-07-09 22:57:12 -04:00
Bob Monteverde
53401adab5 Merging in Pull Request #43 fixiing Issue #42 MultibarChart set to stacked, the controls default value is wrong 2012-07-09 00:16:40 -04:00
Bob Monteverde
292256bab7 Merging in Pull Request #46 allow updating delay for multiBarChart 2012-07-09 00:12:16 -04:00
Bob Monteverde
35ba44bd9f Issue #38 let user set custom scales on the satckedAreaChart 2012-07-09 00:02:29 -04:00
Luke Steensen
a7c4b0fe06 regenerate compiled files
also undo mistake deletion from last commit
2012-07-06 15:48:32 -05:00
Jun Lin
7b489cf781 re-generate minified js 2012-07-06 09:29:43 +08:00
Jun Lin
d1f7cdf286 fixed #42 set multibar default to stacked, the controls default value is wrong 2012-07-06 09:13:56 +08:00
Philip Roberts
a04cc0fa07 Fix accidental semicolon in var list causing
variables afterwards to be globals in multiBarChart.

Fixes #35.
2012-07-05 13:04:10 +01:00
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 2012-07-03 17:14:52 -04:00
Bob Monteverde
5dcc2b7402 fixed incorrect api name, valueFormat, NOT valuesFormat 2012-07-02 16:46:56 -04:00
Bob Monteverde
04e68e9295 fixed issue with max and min labels overlapping on y axis 2012-07-02 14:36:34 -04:00
Bob Monteverde
e7a8665705 fixing issues with labels not being positions correctly in firefox 2012-07-02 14:19:04 -04:00
Bob Monteverde
feed538cee configurable open and close options now in api 2012-07-02 12:43:04 -04:00
Bob Monteverde
879cf06e09 Removed shape from scatter, replaced with getShape, defaults to function(d) { return d.shape || 'circle' } 2012-07-01 05:17:45 -04:00
Bob Monteverde
52eec9b46f working on fixing multibar x axis with showMaxMin is false 2012-07-01 03:08:25 -04:00
Bob Monteverde
5d5488dbb6 Fix issue where pie chart lets you disable all series then series doesn;t come back when re-enabled 2012-07-01 02:09:28 -04:00
Bob Monteverde
9d726ac9ab some updates to the pie css to make interaction sexier 2012-07-01 02:05:07 -04:00
Bob Monteverde
09a55af5f5 Pie charts should use the same data as discreteBar for ease of switching between 2012-07-01 01:39:53 -04:00
Bob Monteverde
ecb80cb4b8 If Max / Min contains 'NaN' don't show it on axis 2012-06-30 04:26:44 -04:00
Bob Monteverde
6c66e371e5 fix default height on bulletChart 2012-06-30 04:18:56 -04:00
Bob Monteverde
6da248bd19 defined local variable container in bulletChart 2012-06-30 04:16:40 -04:00
Bob Monteverde
94d44b7cec If you don't set width, bullet chart gets container's.. height is static but can be changed manually 2012-06-30 04:07:50 -04:00
Bob Monteverde
c5dad2c36a fixing variable name 2012-06-30 03:36:51 -04:00
Bob Monteverde
d57bd67074 reworked bullet a little bit and created bulletChart 2012-06-30 03:17:21 -04:00
Bob Monteverde
e07921f473 Added rotate labels functionality, but text-anchor: end is not working, auto switches to middle 2012-06-30 01:51:32 -04:00
Bob Monteverde
df34fb7bad minifying 2012-06-29 16:00:11 -04:00
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 2012-06-29 14:59:15 -04:00
Bob Monteverde
daee31b61a minifying new pie and pieChart 2012-06-29 14:29:03 -04:00
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.
2012-06-29 17:14:18 +01:00
Bob Monteverde
42aa8ad2ca if no offset element is given, assume 0 on pieChart, because pieChart uses mouse position for tooltips right now 2012-06-28 19:27:34 -04:00
Bob Monteverde
3071b32de3 added pieChart.js to makefile and minifying 2012-06-28 19:16:23 -04:00
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. 2012-06-28 17:14:53 -04:00
Tsyren Ochirov
eb8f9f48fb tooltip optional base container 2012-06-28 11:42:26 +04:00
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 2012-06-27 15:37:18 -04:00
Bob Monteverde
f2cd0ed629 Moved cumulativeLine.js to deprecared, cumulativeLineChart.js is the up to date version of it 2012-06-27 15:09:29 -04:00
Bob Monteverde
b396b0e155 updated line implementation to be consistent with other models 2012-06-27 14:38:23 -04:00
Bob Monteverde
25883d2a5e removing the delay on the horizontal bar for now, also making sure 0 ticks are never removed from the axis 2012-06-26 15:33:09 -04:00
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 2012-06-26 13:12:17 -04:00
Bob Monteverde
c494172fe2 Added Max/Min to horizontal axes, on by default, but can be disabled with showMaxMin(false) on the axis component 2012-06-26 12:31:16 -04:00
Bob Monteverde
755af6e9d4 Issue #11 major refactor of stackedArea, still need to tweak some things, BUT now works with custom accessors 2012-06-26 03:57:01 -04:00
Bob Monteverde
ea31b3ab1c Issue #10 fixed distributions from showing disabled points 2012-06-26 01:24:34 -04:00
Bob Monteverde
1ff25d0bfe trickling down the tickFormatter from the main y and x axes to the view finder axes - minifying 2012-06-25 17:18:12 -04:00
Bob Monteverde
72c91548de don't hide axis on horizontal bar 2012-06-25 15:08:25 -04:00