14 Commits

Author SHA1 Message Date
Tai Dupree
afc4f50838 fix color lookup for popup
click filtering

fix examples

push layer filter to chart filter handlers; filter null values from popup

rewrite query to use table aliases for self-join

change query to use non-join when tables are the same

improved click filtering

fix race between mapbox style load and data fetch

layer filter listeners

import d3
2018-03-08 15:49:23 -08:00
Jonathan Huang
66069b7db0 Stacked Legend For Raster (#109)
* add stacked legend to raster

* stacked bar module

* auto behavior for geoheat

* bump legendables
2017-11-28 08:21:31 -05:00
Jonathan Huang
e89bbab693 add tests for raster point layer
progress on sizing spec

finish new point layer genVega

working point raster layer with vega lite spec

fix popup behavior on raster point layer

fix examples

fix examples

add limit to point vega

update transform api and add sampling

update raster poly layer to use setState vega-lite api
2017-11-28 08:21:31 -05:00
Jonathan Huang
af48ce6739 Geo Heatmap Example (#77)
* geoheatmap raster layer

set mapbox token in examples, set cap in example 3, raise poly point cap in other examples (#92)

include all css and js files in one bundle

bump tp webpack 2

begin raster heatmap example

basic heatmap raster layer mixin

fix lint

xyDim getter/setter for heatmap raster layer

raster heatmap layer example with sliders

example to use distinct lang

refactor

use mapd data layer

use webpack dev server for examples

update example build script

calculate proper gap size

update geoheatmap example image

update example image styling

dynamic number of bins on geoheatmap

vega-lite api for heat layer

implement hex binning

update aggregate

ability to switch mark types

update babelrx

manual pixel sizing

add destroy hook

dynamic color domain

linting

use layer.genSQL in genVega

handle aggregation parsing

rebuild

do not set null colordomain

fix test

update bundle

fix test

* tweak example
2017-08-28 15:03:01 -07:00
Eric
3b8960ab1d set mapbox token in examples, set cap in example 3, raise poly point cap in other examples (#92) 2017-08-22 12:05:12 -07:00
Chris Viau
18f32f4515 Expose mapbox access token to map-mixin as .mapbboxToken (#90) 2017-08-17 09:47:06 -04:00
Marc Balaban
58963351bf [DOCS/EXAMPLES] polished docs and examples (#16) 2017-05-05 17:14:07 -07:00
Marc Balaban
8eac076cef [EXAMPLES] updated example links to connect to metis 2017-05-04 15:50:13 -07:00
Jonathan Huang
2e073291c1 clean up examples 2017-04-24 19:59:14 -07:00
Jonathan Huang
31acad6366 [DC EXAMPLES] remove sync requests and fix charts 2017-04-24 19:58:55 -07: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
ʈᵃᵢ
ee47aea4b4 [infra] change examples to use forge (#2283) 2017-02-16 10:20:18 -08:00
Jonathan Huang
5d07bfb938 [MAP MIXIN] init map using async init method, fixes #1713, #1687 (#1885)
* [MAP MIXIN] init map using async init method, fixes #1713, #1687

* [V2] add pointmap tests

* [POINTMAP] load proper bounds for initial render call

* bump coverage

* [POINTMAP] update bounds if initial bounds is not equal to rendered map bounds

* fix map move

* remove console

* fix connection reducer test
2016-12-01 14:54:38 -08:00
Christopher Root
d3f30579e9 Adding new RenderChart dc widget to handle all 2D backend rendering with multiple layers. (#1844)
* Adding new rasterChart mapdc widget with multi-layer BE-rendering support.
The raster chart is a wrapper covering all 2D backend-rendering widgets.
This currently includes pointmaps and scatterplots. Changes include:

    1) new point and poly layer mixins that can be added to rasterChart
    2) Adds hit-testing support for all layers, including polys. This includes animations and popups. Requires some new css.
    3) fixed bug to ensure pixel radius set to getResultRowForPixel is an int
    4) several small changes to crossfilter:
        a) each crossfilter object is given a unique id
        b) added a getProjectOn() function to groups in order to retrieve the projections in a join/group-by query.
        c) added flags to extract the sql from certain dimension/group functions rather than run the sql immediately.
    5) Change dc-group-all-mixin to cache the last count by crossfilter id.

* adding multi-layer backend rendering examples for maps and scatterplots
2016-11-17 14:49:46 -08:00