421 Commits

Author SHA1 Message Date
Marc Balaban
e09eac3ceb [DOCS] set up documentation js and cleaned README.md
- also fixed scripts
2017-05-03 17:44:56 -07:00
Jonathan Huang
0870ff7b88 [MAP MIXIN] re-apply lint 2017-05-02 16:42:44 -07:00
Jonathan Huang
e59e98c358 [MAP MIXIN] set filter bounds on first getDataRenderBounds (#2654) 2017-05-02 16:21:07 -07:00
Jonathan Huang
d4a5e10efc [BASE MIXIN] add isMulti check in base 2017-05-01 17:39:59 -07:00
Jonathan Huang
8c6b7e5c7b [MAP DRAW] remove mapbox draw 2017-05-01 08:13:02 -07:00
Jonathan Huang
a79bb576b6 Example fix (#114)
* fix examples and scripts

* fix test scripts

* update license and fix package.json docs + lint scripts

* update coverage requirements
2017-04-30 22:08:35 -07:00
Marc Balaban
74244c7929 first pass at linting (#111) 2017-04-26 15:59:07 -07:00
Ricky
061a79866b Set up build to log in to github to install dependencies (#110)
Use HTTPS and update yarn.lock

Use API token in travis.yml

Use npm for dependency management

Add node gyp to travis

Scope the mapd draw package
2017-04-26 15:21:43 -07:00
Jonathan Huang
2e073291c1 clean up examples 2017-04-24 19:59:14 -07:00
Jonathan Huang
b00040d3a5 Fixes #2603 and Fixes #2602 (#2604)
* [POINTMAP] fix legend behavior

* [POINTMAP] fix bug related to loading bad color state

* bump mapd-draw tag version
2017-04-24 12:01:57 -07:00
Christopher Root
b4527a7eed Makes sure lasso tool canvas receives focus on a shape-drag event (#2596) 2017-04-21 15:50:11 -07:00
Christopher Root
d8f02e08ef Make sure lasso shapes are selectable when mouse moves off buttons (#2595) 2017-04-21 14:58:45 -07:00
Christopher Root
68252e8055 Fixes issue with scatterplot lassos not displaying on dashboard load due to parent div not have dimensions set (#2594) 2017-04-21 14:24:21 -07:00
Du Hoang
8b94fd9ec6 Prevent interference with custom cursor icon (#2559)
update mapd-draw with new browser compatible icons

Fix conflicts in package.json

Update yarn.lock

Add proptypes to avoid linting errors
2017-04-21 14:16:20 -07:00
ʈᵃᵢ
2b44f845f9 [dc] only enabled elastic dimension on line and histogram (#2580) 2017-04-19 17:35:26 -07:00
ʈᵃᵢ
7299b901ef [dc|cf] Adds elastic dimension to histogram and line (#2424) 2017-04-18 14:33:20 -07:00
Jonathan Huang
bd5fe1150b Pointmap as Raster Layer (#2471)
* raster module with sagas

working sagas

saga for adding color measure

update color measure

clean out saga watchers

clean up sagas

remove overrides

fix add color measure for ordinal types

lint

add saga test

tests

remove console

* raster layer cap, size, color settings

* finish testing

* commit fixes

* working chart switching

* handle custom sql

* add tests

* [RASTER CHART] set dcFlag on creation

* fix bugs

handle case when no chart

remove dcFlag from loaded charts state

[RASTER CHART] fix sizing

add tests
2017-04-18 09:50:52 -07:00
Marc Balaban
68862cf72a [SPINNERS] moved spinners to DC (#2546) 2017-04-14 16:25:50 -07:00
Christopher Root
1d4755de96 Fixing poly line draw state issues, and fully removing mouseout event handlers as they seemed to be erratically called (#2528) 2017-04-10 14:59:08 -07:00
Du Hoang
ad3b81aa56 fix pointmap color bug (#2515)
* fix pointmap color bug

* make condition a variable

* move variable inside if statement
2017-04-06 09:57:41 -07:00
Christopher Root
e1cd9bc928 Convert mapdc backend-rendered charts to use the new lasso tool, and enable lasso capability for BE scatterplots in immerse (#2492) 2017-04-05 14:56:11 -07:00
Du Hoang
795a2114df update colorDomain before render (#2497)
fix legend check

add check for legend type

clean up logic
2017-04-05 11:20:59 -07:00
Du Hoang
a550cc2b98 update color domain on async render (#2477)
check for quantitative legend
2017-04-03 16:10:46 -07:00
Du Hoang
b0fc4f34f9 add checks for timeBin in mapdc, add rangechart binning when measure updates (#2474)
fix test n rebase
2017-03-29 16:20:16 -07:00
Jonathan Huang
0e9f56bd37 Default coordinates working if invalid Lat/Lon (#2469)
* [MAP MIXIN] correct longitudinal min and max constants

* [MAP MIXIN] correct longitudinal min and max constants
2017-03-27 16:07:38 -07:00
Jonathan Huang
a3665c2df5 [SAMPLING] fix null check (#2453) 2017-03-23 15:50:20 -07:00
Marc Balaban
5ab97003de [FOLDERS] put dc files in new organization folder structure (#2430)
[OVERRIDES] reintegrated all DC overrides/tests with new structure

[REBASE] rebase mapdc on latest code changes
2017-03-22 11:05:35 -07:00
ʈᵃᵢ
255dde9ca0 [cf|dc|v2] allows null dimension values (#2401)
* [cf|dc|v2] show null values in dimensions

* add back having

* fix heatmap sorting

* adds sorting of nulls function
2017-03-21 10:10:45 -07:00
Jonathan Huang
712b5f7846 [LASSO FILTER] wrap poly filter in parens (#2433)
* [LASSO FILTER] wrap poly filter in parens

* [MAP MIXIN] use null when lon/lat out of bounds for initial bounds

* [LASSO FILTER] fix parens in multi circle statement
2017-03-17 18:33:15 -07:00
Jonathan Huang
d07c97ab7f [DC] update empty statck logic so redrawAll does not loop indefinitely, fixes #2164 (#2425) 2017-03-17 10:08:40 -07:00
Marc Balaban
f9be045981 [REFACTOR] moved binning params into dc (#2361)
* [REFACTOR] moved binning params into dc

* - moved checkIfTimeBinInRange into stackMixin
- removed xit tests
2017-03-15 11:51:57 -07:00
Marc Balaban
f3efe0cc74 [CHOROPLETH BUG] removed transition time for choropleth to active renderlet event listener (#2421) 2017-03-15 10:27:03 -07:00
Jonathan Huang
51c25d8d11 [COORDINATE RASTER] add guards in destroy hook (#2404) 2017-03-10 14:46:50 -08:00
Jonathan Huang
4bca308f1a Refactor Color Updates When Switching Charts (#2358)
* [CHART UPDATES] clear minmax when adding measure

* [COLOR SWITCH] refactor color updates when switching charts

* [COLOR] do not save chart color on creation
2017-03-09 10:32:57 -08:00
ʈᵃᵢ
551e02bfec [dc] fix percentage padding, add 4% padding on scatter(bubble-chart) (#2345) 2017-03-03 16:15:57 -08:00
Du Hoang
908c59f008 don't call getRowForPixel if there are no popup columns (#2344)
adjust draw tools position on map
2017-03-02 15:46:51 -08:00
Jonathan Huang
6ccad44d93 [MAPDC] groupAll -> _groupAll in core-async, fixes #2338 (#2339) 2017-02-28 11:29:23 -08:00
Jonathan Huang
15586c5860 [LASSO TOOL] add back UNLIKELY statement (#2301)
* [LASSO TOOL] add back UNLIKELY statement

* top level unlikely
2017-02-27 10:51:15 -08:00
Jonathan Huang
f64869b291 Fixes for Sort Bugs on Chart Switch (#2297)
* [CHART SWITCHING] preserver null sortColumn when switching to and from table and number, fixes #1834, fixes #1900

add tests for fixes

* [CHART SWITCH] preserve table sort column when switching to non-cap chart, fixes #1995

* [CHART SWITCH] preserve sortColumn when switching back to table and sortColumn is valid shape for table, fixes #2291

* add color switch test, legend import fix, add null color shape definition

* no sortColumn for scatter

* fix bug when col name is color

* organize control flow

* modify coverage
2017-02-20 15:20:35 -08:00
Jonathan Huang
df8a8dae36 [DC] vega utils file + fix layer examples (#2288)
* [DC] vega utils file + fix layer examples

* remove arrow function
2017-02-17 15:28:58 -08:00
Marc Balaban
2e65734651 [TIMEBIN] (#2261)
- auto now default for time bins.
- v2 in sync with DC when range chart changes binning type for date.
2017-02-16 11:08:58 -08:00
Jonathan Huang
d2e7c01269 Popup Fix for Master (#2271)
* [RASTER] fix hover bugs

* disable unstable test

* remove dc object from raster mixin
2017-02-14 17:06:59 -08:00
Jonathan Huang
7251f1d4e3 mapdc as ES6 Modules (#2255)
* [MAPDC] refactor using es6 modules

add logging module

add more charts and mixins

add bubble overlay, heatmap, boxplot

add more charts

finish moving to new folder

beging moving overrides to new folder

replace mapdc src/

update build script

fix tests

fix mapdc import

fix mapdc import

prebuild mapdc css styles

remove console

redrawAll on rangeFilter update

remove grunt, delete dead files

update tests

minor fixes

fix raster-mixin d3 import

lint

clear cache

fix mapdc style import

fix example styles

* remove dc from scatter-mixin
2017-02-13 15:20:37 -08:00
Du Hoang
75e7ab81ca sort heatmap y axis ascending when str and date (#2230)
remove unused imports
2017-02-09 16:01:54 -08:00
Du Hoang
2082de20a6 label heatmap extract hours (#2234)
remove console log

remove white space
2017-02-09 15:48:28 -08:00
mLuby
38b59d6227 dc fix: bubble chart resets correctly after crossfilter removed (#2197) 2017-02-02 14:17:28 -08:00
ʈᵃᵢ
9917feeda8 Lasso Compatibility & scatter hover (#2159)
* Upgrading to mapbox 0.28.0

* integrate Mapbox-0.28.0 into V2

remove failing test

add #1894

cleanup code

adjust coverage, remove dead tests

* add overrides to babel-loader

* change const to var in mapbox-overrides

* fix webpack module

* fix webpack module

* es6 overrides

* fix overrides es6 using babel

* fix event listeners in for scatter-mixin

* bail out when tile is undefined

* [DRAW MIXIN] simple select as only select mode (#2181)

* add back lasso

* fix hover for scatter

* mapbox bail out when tile is undefined in draw_circle, draw_symbol
2017-02-01 12:11:35 -08:00
ʈᵃᵢ
8ab43cefff change pointmap hover cursor, disable hover when drawing (#2174) 2017-01-30 13:00:08 -08:00
Marc Balaban
12fb2a33c2 [POPUP] fixed bug preventing html to render (#2171) 2017-01-27 16:23:46 -08:00
Jonathan Huang
025e88c0e3 const -> var (#2165) 2017-01-27 12:15:29 -08:00