Commit Graph

578 Commits

Author SHA1 Message Date
Christine Chambers
8b4bb80738 fix: remove sticky tooltip when query returns no data in explore view (#42)
Tap into the newly added `willUnmount` hook to clean up sticky tooltip that nvd3 adds to `body` directly. This removes such tooltips that were left behind in the explore view with the new query returns 'no data'.
2021-11-26 11:45:27 +08:00
Christine Chambers
223c2f8791 v0.10.7 2021-11-26 11:45:27 +08:00
Beto Dealmeida
06bf56fd83 fix(legacy-preset-chart-nvd3): stacked bar charts labels (#40)
* fix(legacy-preset-chart-nvd3): stacked bar charts labels

* fix(legacy-preset-chart-nvd3): fix lint
2021-11-26 11:45:27 +08:00
Christine Chambers
ee7a87db7d v0.10.6 2021-11-26 11:45:27 +08:00
Thomas Wang
eaf61fa6a7 style: add % to total to area chart tooltip (#27)
* style: improve area chart tooltip

* style: improve area chart tooltip
2021-11-26 11:45:27 +08:00
Krist Wongsuphasawat
8118ae86d8 v0.10.5 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
2b5d4d60c5 docs: update changelog 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
ad67c39ab7 feat: update dependencies to make plugins compatible with 0.11 (#38) 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
b40fb63dc5 v0.10.4 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
540fed2aa6 docs: update changelog 2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
1b4d9117a8 fix: broken build due to file rename in vega-lite (#37)
* fix: change references to vega-lite that broke build

* refactor: rename fielddef to channeldef
2021-11-26 11:45:26 +08:00
Kim Truong
66a5a5e565 fix: big number with trendline fix (#34) 2021-11-26 11:45:26 +08:00
Kim Truong
77396afc7c fix: exception thrown for charts without a x-axis (#36)
* fix: pie chart exception

* fix: incoporate krist's feedbacl
2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
2a571777f8 build: use shared commit config (#35)
* build: use shared commit config

* docs: changelog

* fix: root package.json version
2021-11-26 11:45:26 +08:00
Krist Wongsuphasawat
818f4628f7 feat: update tooltip and use selector (#31) 2021-11-26 11:45:26 +08:00
Thomas Wang
fa0d4ea6bc fix: fine tune time pivot chart tooltip (#33) 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
bcd6396cf2 chore: add eslint react fragment rule (#32)
* chore: add eslint react fragment rule

* fix: lint

* fix: react16
2021-11-26 11:45:25 +08:00
Thomas Wang
4bd482dbc4 fix: line chart tooltip should use full datetime format (#24) 2021-11-26 11:45:25 +08:00
Thomas Wang
ec2c1946c8 feat: improve the tooltip for the time pivot chart (#30)
* style: improve the tooltip for the time pivot chart

* fix: lint errors
2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
049b40bc80 feat: line chart with revised encodeable utilities (#26)
* feat: line chart

* feat: implement scale extraction

* refactor: no error

* fix: handle null

* fix: nicing and demo

* fix: legend and demo

* fix: remove commented code

* fix: clean

* fix: reviewer comments

* fix: legend and series

* docs: make demos tsx

* fix: reactnode

* fix: label angle

* fix: resolve labelxxx field names

* docs: try knobs

* feat: improve axis

* refactor: combine computelayout into axisagent

* refactor: cleaner use of scale

* fix: proptypes
2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
773de699d8 refactor: remove new box plot code until refactored (#25) 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
8265ed4917 v0.10.3 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
2766975ac5 feat: add encodeable utilities for chart (#15)
* feat: add encodeable utilities

* feat: add types back

* refactor: simplify function calls

* refactor: rename generic type

* refactor: more edits

* refactor: remove unused function

* refactor: rename file

* fix: address comments

* fix: add vega back
2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
d8e8dc4111 fix: make pivot table handle null string (#23) 2021-11-26 11:45:25 +08:00
Krist Wongsuphasawat
2485ae5724 docs: update CHANGELOG 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
c0708a22b4 v0.10.2 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
532feac81a fix: y axis bounds when input are nan (#22)
* fix: avoid computing log for 0

* fix: y axis bounds when input are nan
2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
e53fbd562b docs: add nvd3 version badge to readme 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
187e476440 docs: update changelog 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
45c78671d1 v0.10.1 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
a2209f2876 fix: bar label for many bars and long labels (#21)
* fix: labels for many bars in bar chart

* fix: nvd3 bar labels

* docs: update example
2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
7ea874c9c0 fix: dual line chart color consistency for secondary y axis (#18) 2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
49a6951f4f fix: show only necessary tick labels on log scale (#19)
* fix: show only necessary ticks on log scale and add storybook

* fix: storybook path
2021-11-26 11:45:24 +08:00
Krist Wongsuphasawat
54f15d72cb fix: nvd3 line chart y axis bounds (#17)
* fix: 🐛 y axis bounds

* fix: clip edge only when necessary

* docs: update storybook

* fix: remove src ref from storybook

* fix: import order
2021-11-26 11:45:24 +08:00
Chris Williams
87be3e819f chore(histogram): update @data-ui/histogram for better bins (#16)
* chore: [histogram] bump to @data-ui/histogram@^0.0.77

* docs: fewer histogram bins in demo
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
4013721e61 feat: add tooltip and layout components for charts (#13)
* feat: add components for charts

* refactor: remove jsx

* refactor: address comments
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
270386ba40 chore: bump version (#14) 2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
4215a80aa8 feat: add typescript declaration for external packages (#12)
* feat: add declaration for external packages

* feat: add dependency

* fix: address comments
2021-11-26 11:45:23 +08:00
Kim Truong
49cd2fedfb feat: add properties for font sizing (#10)
* feat: add properties for font sizing

* revert package.json changes

* refactor: rename bigNum to header

* chore: empty commit to kick off travis
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
cc2ec90171 docs: update CHANGELOG 2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
18b5c9e477 v0.10.0 2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
4014ac88a4 docs: update CHANGELOG 2021-11-26 11:45:23 +08:00
Christine Chambers
0ecf719391 fix(legacy-preset-chart-nvd3): tooltip's disappearance and stickiness (#1)
fix: tooltip disappearance and stickiness
2021-11-26 11:45:23 +08:00
Beto Dealmeida
53ab7147cf feat(legacy-preset-chart-nvd3): show negative values on bars (#8)
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): show labels on negative bars

* fix(legacy-preset-chart-nvd3): fix lint

* fix(legacy-preset-chart-nvd3): improve remove
2021-11-26 11:45:23 +08:00
Krist Wongsuphasawat
70476b115b chore: 🤖 enable hot reload for typescript in storybook (#9) 2021-11-26 11:45:22 +08:00
Beto Dealmeida
444bb039b8 fix(legacy-preset-chart-nvd3): redraw bar values after legend change (#7)
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): avoid creating multiple nodes

* fix(legacy-preset-chart-nvd3): improve remove
2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
79f58372f6 chore: enforce PR title to be conventional commit 2021-11-26 11:45:22 +08:00
Beto Dealmeida
8c382ade40 fix(legacy-preset-chart-nvd3): redraw markers after legend interaction (#6)
* fix(legacy-preset-chart-nvd3): redraw markers after legend interaction

* fix: lint
2021-11-26 11:45:22 +08:00
Krist Wongsuphasawat
618f50b01b Enable TypeScript live update in Storybook (#5)
* chore: enable live TS in Storybook

* chore: 🤖 manually add tsconfig for storybook

* chore: 🤖 enable typescript for preset-chart-xy
2021-11-26 11:45:22 +08:00
Rosen Velikov
3e05f6f143 feat: add country map of bulgaria in superset-ui-legacy-plugin-chart-country-map (#2) 2021-11-26 11:45:22 +08:00