Commit Graph

376 Commits

Author SHA1 Message Date
Bob Monteverde
869a22c5bf Issue #68 updated cumulativeLineChart model to standard format 2012-08-21 12:08:05 -04:00
Bob Monteverde
aca8838f52 Issue #161 implemented new margin setting in scatter.js will implement into the others later 2012-08-21 10:35:04 -04:00
Bob Monteverde
44c0e21a87 Issue #68 updated multiBarHorizontalChart model to standard format 2012-08-21 10:18:59 -04:00
Bob Monteverde
0ef2908ffc Issue #68 updated multiBarChart model to standard format 2012-08-17 22:51:06 -04:00
Bob Monteverde
cac81e7405 Issue #68 updated multiBarHorizontal model to standard format 2012-08-17 21:43:59 -04:00
Bob Monteverde
d8678f966d Issue #68 updated lineChart model to standard format 2012-08-17 20:15:28 -04:00
Bob Monteverde
5f95ee7a95 Issue #68 updated scatterChart model to standard format 2012-08-17 19:58:25 -04:00
Bob Monteverde
e767359018 Issue #68 updated discreteBar model to standard format 2012-08-17 19:19:01 -04:00
Bob Monteverde
4f6e678def Issue #68 updated distribution rug model to standard format 2012-08-17 18:58:15 -04:00
Bob Monteverde
9d4b0fb6a7 Issue #68 updated axis model to standard format 2012-08-17 16:37:33 -04:00
Bob Monteverde
8349dea0aa Issue #68 updated legend model to standard format 2012-08-17 16:32:03 -04:00
Bob Monteverde
3a08bc78e0 Issue #68 updated bullet model to standard format 2012-08-17 16:23:26 -04:00
Bob Monteverde
7ffc993a5d Issue #68 updated pie model to standard format 2012-08-17 16:17:33 -04:00
Bob Monteverde
6b5e4390ca Issue #68 updated sparkline model to standard format 2012-08-17 15:26:14 -04:00
Bob Monteverde
bd24b87f62 Issue #68 updated historicalBar model to standard format 2012-08-17 15:12:14 -04:00
Bob Monteverde
7956f70b92 Issue #68 updated stackedArea model to standard format 2012-08-17 15:02:24 -04:00
Bob Monteverde
e0487f52c7 Issue #68 updated ohlcBar model to standard format 2012-08-17 14:15:41 -04:00
Bob Monteverde
33823fe24d Issue #68 updated multibar model to standard format 2012-08-17 14:07:18 -04:00
Bob Monteverde
bdab7c5b50 Minor whitespace cleanup 2012-08-17 13:59:34 -04:00
Bob Monteverde
7e22613004 Issue #68 updated line model to standard format 2012-08-17 13:58:02 -04:00
Bob Monteverde
f1a25d2637 fix minor spelling error 2012-08-16 17:04:18 -04:00
Bob Monteverde
33e1b6bb15 Remove a trailing comma in an event object in the bullet model 2012-08-16 15:42:58 -04:00
Bob Monteverde
2f0d1cea9f getColor now gives default color if no argument is passed in 2012-08-15 12:18:48 -04:00
Bob Monteverde
134ad1d49d Fix cumulative line chart, color should have been set to default color 2012-08-15 12:16:56 -04:00
Bob Monteverde
8349223ee1 Minifying Pull Request #154 2012-08-14 17:16:06 -04:00
Bob Monteverde
0588aa057f Minor clean up of axis.js.. it still needs more 2012-08-10 03:27:38 -04:00
Bob Monteverde
685bb46454 Attempting to fix issue #143 2012-08-09 20:39:32 -04:00
Bob Monteverde
4254f4ab34 Removed no data check from the bulletChart until I modify it to work with the bullet chart code 2012-08-08 17:48:37 -04:00
Bob Monteverde
53a5f5323b Minifying Pull Request #139 2012-08-07 18:15:33 -04:00
Bob Monteverde
a1a7d4fa4f Minifying Pull Request #135 2012-08-06 18:07:51 -04:00
Bob Monteverde
ad622bb512 Fixing merge conflict 2012-08-03 13:18:04 -04:00
Bob Monteverde
70f2d22952 Fixed issue with scatter p[lot distributions with custom data format 2012-08-03 13:16:46 -04:00
Bob Monteverde
2da16192b0 Minifying last commit 2012-08-03 13:05:41 -04:00
Bob Monteverde
21546bcf14 Minifying Pull Request #133 2012-08-03 00:33:06 -04:00
Bob Monteverde
c0c19c2cd0 make lines and lines2 public ion the lineWithFocus chart 2012-07-31 16:04:52 -04:00
Bob Monteverde
0dfa90dd2f Fix last Pull Request, get rid of unneeded jQuery 2012-07-31 15:26:16 -04:00
Bob Monteverde
97954cad84 Mergin in and minifying Pull Request #127 2012-07-31 15:05:42 -04:00
Bob Monteverde
ebea41d8dc Minifying Pull Request #125 2012-07-31 12:52:27 -04:00
Tomasz Werbicki
0c82e3c76c Remove scatter points on exit. 2012-07-30 22:25:45 -05:00
Tomasz Werbicki
a597d3ee36 Allow to put labels outside donut. 2012-07-30 16:30:11 -05:00
Bob Monteverde
e4fb08fc58 Fitler out disabled series before doing Y axis domain calculating when rescale is disabled 2012-07-30 16:40:45 -04:00
Bob Monteverde
8d8b5d00f1 Implemented the resize y-axis toggle on cumualtive line, now the user can turn or rescaling the y axis 2012-07-30 16:32:27 -04:00
Bob Monteverde
7de6971105 Merging in, slightly modifying, and minifying Pull Request #118 2012-07-30 15:06:01 -04:00
Tomasz Werbicki
93f960652c Set colors in stackedAreaChart. 2012-07-30 13:56:33 -05:00
Bob Monteverde
e00f165760 minifying last commit 2012-07-30 14:51:30 -04:00
Bob Monteverde
4ed747791a Fixing Issue #119 by making tooltip public on multiBarChart model 2012-07-30 14:50:40 -04:00
Tomasz Werbicki
c794897a4e Update built files to include d6006ad changes. 2012-07-30 03:14:17 -05:00
Bob Monteverde
637815f4d8 Added nv.utils.pjax, while not a required function, its a convenient way of using d3 to do pjax in a VERY simple manor 2012-07-30 03:17:32 -04:00
Tomasz Werbicki
9535dba170 Allow to set yAxis format in stackedAreaChart. 2012-07-29 23:57:49 -05:00
Bob Monteverde
ae1e42ea11 Merging in Pull Request #117 2012-07-27 19:23:00 -04:00
Ger Hobbelt
ef3a7aefb0 added .xTickFormat() and .yTickFormat() API methods to make chart axis public I/F as capable as that of lineWithFocus.js - from which this code was ripped and then adjusted to compensate for the slightly different way the 2nd x and y axis are named internally. 2012-07-28 00:23:46 +02:00
Bob Monteverde
0c8cf9261d Added no data available message to sparklineplus 2012-07-27 18:18:56 -04:00
Bob Monteverde
bded864229 Added a customizeable No Data Available. message to all the charts when they are fed no series, or all series have no points 2012-07-27 17:37:20 -04:00
Bob Monteverde
b5b36cbeb1 Minifying Pull Request #116 2012-07-27 15:39:32 -04:00
Bob Monteverde
38c0a82fd5 Added multiChart.js to Makefile and minifying 2012-07-27 15:37:40 -04:00
Bob Monteverde
9deb24f0f2 tighten up lineWithFocus defautl margin 2012-07-27 03:11:30 -04:00
Bob Monteverde
a40baa70af fix type in discreteBar and minify Pull Request #109 2012-07-27 03:06:26 -04:00
Bob Monteverde
0bdd782132 make margin2 accessible in lineWithFocus model 2012-07-27 01:45:27 -04:00
Bob Monteverde
068895cac6 minifying last commit 2012-07-27 01:44:14 -04:00
Bob Monteverde
3b81d8aeed Added nv- to almost all classes and IDs.. will need to recheck everything, but I think I got them all 2012-07-26 19:42:42 -04:00
Bob Monteverde
bcd7c85841 Minifying Pull Request #111 2012-07-26 17:15:13 -04:00
Bob Monteverde
631c067b16 Minifying Pull Request #106 2012-07-26 17:12:33 -04:00
Bob Monteverde
c09378e963 Some minor tweaks and minifying Pull Request #95 2012-07-24 14:28:35 -04:00
Bob Monteverde
4464968c04 minifying Pull Reqquest #85 2012-07-24 14:23:06 -04:00
Steven Noble
04c4ea97f0 fixes bug that messes up tooltips when you have multiple graphs on one page 2012-07-23 16:17:46 -04:00
Bob Monteverde
1c6a2a8b30 Mergin in Pull Request #84 2012-07-19 20:12:33 -04:00
Bob Monteverde
88a7ae0a64 Removing historicalStockChart, close sourceing it, sorry guys 2012-07-19 20:02:06 -04:00
Patrick Butler
9c2c3c5b84 Expose x/yScale to use time scales in line charts
This patch adds to the rebinded xScale and yScale values from line to
lineCharts
2012-07-19 19:17:15 -04:00
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
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
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
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
affd81b0a4 Merge remote-tracking branch 'synack/master' 2012-07-12 01:02:13 -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
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