* Upgrade babel + plugins, use es2020 preset, move contour js and transpile it
* Reset js to master
* Fix contours name in webpack config
* Update contours w latest from master
* Galdernit
* Rebuild charting.js
* Upgrade nyc
* Require babel core in opts, not in config
* A bit better generalization of the lasso tools by adding a lasso tool
type identifier to each tool subclass.
* Add some new events for when lasso tool buttons are activated or
deactivated. This may be useful to check the case that a cross section
line was deleted as a result of the user drawing a new line.
* Adds a more general-purpose fireEvent utility method to the base
ShapeHandler class that will auto-tag the event with the current
lasso_tool_type. This allows for a more preferred way to check whether
a created shape is a result of a specific tool or not.
* Tags lasso tool shapes with the tool type which may be useful in
callback handlers
* Enforces the restriction that only one cross-section line can be drawn
at a time. It does this by deleting any previously existing line shapes
on a new "create" click.
* Adds an emum that adds more flexibility as to when a ShapeHandler's
destroy() method might be called so derived classes can do more
context-aware destroys, i.e. all shapes being destroyed as a result of
a "cancel", or just the temporary shapes being destroyed after a shape
is successfully completed.
* Fill out the remaining pieces of throwing a DRAW STOPPED event signal
with a reason (cancelled, completed, reset, or deactivated)
* Adds a first pass of a LatLonPolyLine class that will be used to draw
the single line segment for a cross-section.
* Adds an LineCrossSection example.
* Adds some initial lasso-specific event handling for lasso shapes. This
currently captures lasso shape create, delete, and draggable edit begin,
end.
* Adds a new onDrawEvent() method to raster-draw-mixin that's used as a
conduit to adding event callbacks to the drawEngine instance that
manages all the drawn lasso shapes. There's room for improvement here
tho.
* Adds new LassoToolSetTypes bitflag enum to control the visibility of
which lasso tools you want to display on a raster-draw-mixin enabled
chart.
* Add spaces when joining with AND, works right now but looks funky
* filter any non existent filters, fix indentation in example
* More careful filtering of filter transforms, only take the goodn's
* Add method to remove layer by name
* Add method to add layer to the bottom of the stack
* First draft polygons layer + lines layer
* Small adjustments to query to get it to work
* Add opacity for contour colors, change colors a bit
* Switch to suggested format
* Include popover stuff in the contour state
* Move interval settings to sub property, default field name for major/minor field, throw error if calling contour sql generate on a non contour layer
* Change field name to is* so that its more clear that its a boolean
* Add some basic validation, throw errors when things are bad, interval -> intervals
* First draft polygons layer + lines layer
* Small adjustments to query to get it to work
* Add opacity for contour colors, change colors a bit
* Formatting
* Fix lint problems and bug created when refactoring
* Move default opacity to constant, use throughout
* Add validation check for table before generating preflight query. Reject promise if not
* Spiff up check, used extracted data const, formatting
* Adds a new windbarb raster chart layer that aligns with it BE-
rendering counterpart. Vega-lite-like state json parsing is done
with a more stable parser/validator and vega generator.
Initial changes include:
* adding a new exampleWindBarbs example with webpack config
* adding a new windbarb raster layer called raster-layer-windarb-mixin
* embedded in this file is a first iteration of a more refined raster
layer state parser/validator and vega generator.
* once this new parser/validator/generator is in a more solid state,
the expectation is to change the other existing raster charts to
it.
* exposing the new windbarb raster layer in raster-chart, raster-layer
and index
* Adds initial implementations of other scales that haven't been fully
utilized, namely threshold scale. The scales come with default "auto"
handling. For example, threshold scales use sigma values as stops
for "auto"
* Adds more formal legend support, including options to build legends
for threshold and quantize scales more appropriately.
* Fixes some tests to account for changes in stacked-legend
NOTE: the change to the stacked-legend::should gradient test is
questionable. It's possible the changes made to the stacked-legend may
break legend behavior and the fact that this test is failing might be
and indicator of that. This may require additional investigation to
verify or not behavior changes. Going to land this in the meantime to
unblock and deal with any legend issues secondarily.
* testing linechart color
* added Bar chart and draw filter to Linemap chart example
* use TIGER roads for Linemap example
* use California roads dataset for Linemap example
* Format raster-chart.js
* Update to use new connector method renderVegaAsync and updated interface for getResultRowForPixel
* Use getResultRowForPixelAsync
* Update dependencies - master commits of connector and crossfilter for 4902, mapd-data-layer-2 0.0.8
* initial integration of linemap example
* add linemap example
* adding hide popup method for liemap
* add mapdc.js
* update example url and added image for linemap
* add githubusercontent.com image url
* remove local linemap image
* update crossfilter and connetor dev deps
* mapd3 line chart rendering with cf charts
* render second y-axis
* adapter almost working...
* use dcFlag to cache chart filter strings, not working...
* better handling of composing dc chart filter strings to sql query
* combo chart brushing is crossfitlering other charts, but resets itself
* enable brush crossfiltering on combo chart
* resize combo chart on window resize
* throttle brushMove event, clean up some
* fix typos in comments
* disable combo chart binning & range editor ui
* point @mapd/crossfilter dev dep to latest
* fixed axis labels
* added mapd3 as a dev dep
* included mapd3 in example webpack config
* removed mapd3.js script tag
* tmp fix for css overflow-x bug
* added babel-polyfill to dev deps
* split js file from html
* use babel-polyfill for examples
* clean up
* Explicitly differentiate between poly rendering with a geojoin and poly rendering with a single table
* Remove hard coded poly column name
* Simplify usesAutoColors check
* Properly handle poly popup fields
* Handle all possible poly query cases (join / color measure)
* Clear crossfilter when clearing poly layer filter
* Fix examples
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
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
* 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
* refactor focus-range behavior for coordinate-grid charts
add line destory hook
remove range mixin
clean up coordinate-grid
prevent negative height
fix is range check
update range checks
remove dead code
prettify code and fix lint errors
remove comments
* safely access focus-range charts in label-mixin
* adding stacked barchart code, example, docs
* make range filter inclusive
* accessing appropriate data for color stacking in bar chart
* fix tests
* add tests to coordinate-grid-mixin
* [dc] initialize range chart with binParams.binBounds instead of xAxisMin/Max
* fix draw-mixin tests
* revert api
* add mapbox-gl-draw to dc example 2
* [DC] add example 5
[DC] update converGeoJSONtoSQL function
[DC] update dependencies to include sprintf
[DC] example 5, no hover on poly select
[DC] disable hover and clicks on polygon draw mode for lasso tool
[DC] wrap coord filter in parens
[DC] test map draw mixin
[DC] use unlikely statement optimization for polygon queries
* circle experiment
* [DC] add circle control to example 5
* update mapbox-gl-draw build process
* [DC] update circle query
* [DC] add tests for circle geojson to sql
* [DC] update circle lasso formula
* [DC] use distance_in_meters for circle query
* fix tests
* update example