Commit Graph

781 Commits

Author SHA1 Message Date
Krist Wongsuphasawat
852b9e609d feat: create reusable selector factory for Encoder 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
52d120a05b feat: simplify Encoder creation 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
c469e5854a feat: channels can take array of definitions 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
1c9c3adbb1 fix: legend types 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
7ef5701efd refactor: improve how encodings are defined 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
7f89012f61 refactor: reduce amount of generic passed around 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
333165867f refactor: change how XYChartLayout are created 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
28ef524596 feat: remove children from XYChartLayout parameter 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
01264fdec1 feat: add getDomain to ChannelEncoder 2021-11-26 11:45:37 +08:00
Krist Wongsuphasawat
58fce4b646 fix: move series in front of xy gridlines (#119) 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
091789c2ba v0.10.30 2021-11-26 11:45:36 +08:00
Chris Williams
06449c521e fix(preset-chart-xy): Pick LegendRenderer (#118) 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
21307c2de1 v0.10.29 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
814e5725c2 fix: scale type category missing ordinal 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
740c7d147f v0.10.28 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
45a3dfe5b8 fix: lint 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
c691415702 feat: implement labelFlush behavior for continuous axes (#117)
* feat: add labelFlush to definition

* feat: implement flushing
2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
2333030abf v0.10.27 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
0dfaff8c2a fix: convert scale config to data-ui's config correctly (#115) 2021-11-26 11:45:36 +08:00
Krist Wongsuphasawat
8eaebc7c0c v0.10.26 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
f889a4fd3e fix: move padding 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
d490bc9443 v0.10.25 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
cf545ff5b4 style: reduce gap between axis label and border (#113)
* build: bump version

* style: reduce gap between axis label and border
2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
0940943ca8 v0.10.24 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
4259e4402b feat: allow boolean as axis config 2021-11-26 11:45:35 +08:00
Krist Wongsuphasawat
d7a5d8ab85 feat: allow overriding ChartLegend, its style and LegendGroup style (#112)
* feat: support overriding maximum legend height and legend item alignment

* feat: allow overriding ChartLegend, its style and LegendGroup style
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
a19137cca7 build(deps): update @data-ui/histogram requirement (#111)
Updates the requirements on [@data-ui/histogram](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/compare/v0.0.77...v0.0.78)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
3a055c5046 build(deps-dev): update fs-extra requirement from ^7.0.1 to ^8.0.1 (#110)
Updates the requirements on [fs-extra](https://github.com/jprichardson/node-fs-extra) to permit the latest version.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
d8290f8d89 build(deps): update @types/d3-array requirement from ^1.2.4 to ^2.0.0 (#85)
Updates the requirements on [@types/d3-array](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/d3-array) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/d3-array)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:35 +08:00
dependabot-preview[bot]
8acc02110e build(deps): update @data-ui/theme requirement from ^0.0.77 to ^0.0.78 (#107)
Updates the requirements on [@data-ui/theme](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/commits/v0.0.78)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:34 +08:00
dependabot[bot]
698778b2ef build(deps): update @types/storybook__addon-knobs requirement (#91)
Updates the requirements on [@types/storybook__addon-knobs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/storybook__addon-knobs) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/storybook__addon-knobs)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
2770fdd256 v0.10.23 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
c01f2a9bfc feat: support custom tooltip for scatterplot and box plot 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
02d93aebfb build: bump dependencies 2021-11-26 11:45:34 +08:00
dependabot[bot]
1ce151d456 build(deps-dev): update husky requirement from ^1.1.2 to ^2.3.0 (#99)
Updates the requirements on [husky](https://github.com/typicode/husky) to permit the latest version.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.1.2...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
f4f896a760 refactor: create selector factories 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
7745c3f9a0 refactor: use selector in line chart rendering 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
a2c1d69c2c feat: support line strokeWidth (#105) 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
75d54d2895 fix: gridlines 2021-11-26 11:45:34 +08:00
Krist Wongsuphasawat
cfc20ba512 docs: update changelog 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
729bc4dee9 v0.10.22 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
41fc7dc75c refactor: rename props 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
d3e140c3ae v0.10.21 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
297b723e7f feat: add types to published list 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
b6e5727adb v0.10.20 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
9add9b8e64 refactor: use composition package (#104)
* refactor: use composition package

* refactor: remove WithLegend and ChartFrame
2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
de4c481685 fix: line chart tooltip when there is only one lien (#103)
* fix: line chart tooltip when there is only one lien

* fix: type

* fix: combine export default
2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
04cd5802fb v0.10.19 2021-11-26 11:45:33 +08:00
Krist Wongsuphasawat
6d8ebc8ac5 fix: invalid margin breaking chart (#102) 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
fbfdbde421 v0.10.18 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
97a95ffcda feat: support tooltip and legend overrides (#101) 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
1037ccfe86 refactor: rename channel color to stroke (#100)
* refactor: rename channel color to stroke

* fix: legend item color and types

* feat: can override createTooltip

* refactor: renderTooltip
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
012f5165da fix: gradient not working when y axis title has space (#98)
* fix: gradient not working when y axis title has space

* fix: pass theme

* fix: pass theme
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
9a98eb31db v0.10.17 2021-11-26 11:45:32 +08:00
dependabot[bot]
2961b1505e build(deps): update @data-ui/xy-chart requirement (#94)
Updates the requirements on [@data-ui/xy-chart](https://github.com/williaster/data-ui) to permit the latest version.
- [Release notes](https://github.com/williaster/data-ui/releases)
- [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/williaster/data-ui/commits/v0.0.78)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
b652510765 fix: broken build due to vega type (#96)
* fix: broken build due to vega type

* fix: remove unused

* fix: type

* fix: margin
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
3a0dd2741d feat: add scatter plot (#90)
* feat: bubble in progress

* feat: working scatter plot with basic and bubble demo

* feat: add legacy shim

* feat: support group as separate channel

* fix: box plot formatting

* fix: lint

* fix: remove/clarify comments
2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
68ebb111f1 feat: bring lazy import back (#84) 2021-11-26 11:45:32 +08:00
Krist Wongsuphasawat
be7623e652 docs: update readme 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
75a11b01e1 test: enable test in ci (#83) 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
f1164aece0 fix: disable lazy import for line chart and box plot (#82)
* fix: disable lazy import

* fix: lint
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
ff7ef2b2b3 feat: allow legend overrides at multiple levels (#81)
* feat: reduce legend text size

* feat: compute legend data

* feat: support multi-level overrides for legend
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
6c7533b565 feat: add box plot (#78)
Squashed commits:
[23ad0d6] feat: working box plot
[a7ed565] fix: typings
[57a62b7] feat: clarify horizontal/vertical mode
[6312737] fix: typings
[2734de3] feat: box plot types
[cb3c239] fix: typings
[7e2dcda] feat: add box plot
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
eefb1cf1b7 fix: lint (#79) 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
f1c113c9b3 docs: update changelog 2021-11-26 11:45:31 +08:00
Christine Chambers
080cf172d4 v0.10.16 2021-11-26 11:45:31 +08:00
Robert Harris
c0920f6397 feat: add sankey chart with loops (#77)
* feat(chart): add basic working look sankey chart

* fix(doc): update readme and remove dead code

* fix(clean): clean up both style and code

* fix(reorg): reogranize for clarity

* fix(path): remove dev path to chart

* fix(lint): remove lint

* fix(pr): fixes for PR

* fix(path): fix dev path

* fix(lint): remove unused
2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
e2300812d7 docs: update changelog 2021-11-26 11:45:31 +08:00
Krist Wongsuphasawat
f6366158d1 v0.10.15 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
f17bb4a6c2 fix: rename file from js to ts (#75) 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
ba42faba02 v0.10.14 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
492b19cad5 feat: bump dependencies 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
ede2e92d97 fix: lazily create metadata (#74) 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
7ca247ccb8 v0.10.13 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
cbeb837b2a docs: update storybook readme 2021-11-26 11:45:30 +08:00
Robert Harris
417c86a9bf docs: update documentation for starting storybook (#67) 2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
23c4aa3d1e feat: integrate line chart with build query and update typings (#73)
* feat: integrate line chart with buildQuery

* fix: typings

* fix: minor

* feat: derive groupbys

* fix: tooltip for single series
2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
0eafb6c1f7 docs: add storybook page for testing query (#70)
* docs: add storybook page for testing query

* fix: remove is_time_series
2021-11-26 11:45:30 +08:00
Krist Wongsuphasawat
827394261a feat: update data format returned from query api and add getGroupBys (#72)
* fix: update data format returned from query api

* fix: format

* fix: remove unnecessary type

* fix: remove hack prior to typescript 3.4
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
911382f152 fix: make line chart query operate in time series mode (#71) 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
4dd87b55fc v0.10.12 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
fcee68a3af docs: add chart xy to front page 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
69d9545591 docs: add chart xy to front page 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
2430aa1dbe fix: line chart does not handle temporal field correctly (#68)
* fix: fallback to default margin when margin is partially set

* feat: can disable axis title

* feat: adjust margin according to axis title visibility

* feat: include margin in formData

* feat: add buildQuery

* fix: address kyle comments

* fix: remove string false

* fix: line chart temporal scale

* fix: format
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
1f33026b38 feat: improve line chart margin/axis and add buildquery (#66)
* fix: fallback to default margin when margin is partially set

* feat: can disable axis title

* feat: adjust margin according to axis title visibility

* feat: include margin in formData

* feat: add buildQuery

* fix: address kyle comments

* fix: remove string false
2021-11-26 11:45:29 +08:00
Andy
bbecb6dc84 feat: adding Canada into the list of country map choices (#48)
travis build failed due to another issue, which is fixed in master.
verified storybook and the new map is working correctly.
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
381d51d8a4 fix: word cloud import bug (#65)
* fix: word cloud import bug

* fix: add core-js
2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
2f19262399 build: bump version and update changelog 2021-11-26 11:45:29 +08:00
Krist Wongsuphasawat
1a3b10e180 feat: update line chart thumbnail and scale extraction (#61)
* feat: update line chart thumbnail

* fix: lint
2021-11-26 11:45:28 +08:00
Hamel Husain
c264b9fb1f chore: create issue_label_bot.yaml (#62) 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
353e3df3f4 v0.10.11 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
8d701e97ef docs: update readme 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
7c58da9e34 build: allow xy-chart to publish (#59)
* build: allow xy-chart to publish

* fix: add line
2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
e86706f9ee build: multi-level nesting in storybook (#58)
* build: multi-level nesting in storybook

* feat: select country

* fix: config

* fix: minor
2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
e2f32cbf0e fix: list css as side effects (#57) 2021-11-26 11:45:28 +08:00
Krist Wongsuphasawat
8e9cd50552 build: migrate to storybook 5 (#46)
* build: migrate to storybook 5

* fix: configuration

* fix: delete dir on build
2021-11-26 11:45:28 +08:00
Christine Chambers
fd84ea1381 v0.10.10 2021-11-26 11:45:28 +08:00
Kim Truong
ec5be03d8f fix: use correct number format (#47) 2021-11-26 11:45:28 +08:00
Thomas Wang
5a643dd047 feat: increment the version number (#44) 2021-11-26 11:45:27 +08:00
Christine Chambers
99112bc029 v0.10.9 2021-11-26 11:45:27 +08:00
Kim Truong
dde88df4e0 fix: y-axis bounds for stacked viz types (#45)
* fix: y-axis bounds for stacked viz types

* fix: add dist_bar
2021-11-26 11:45:27 +08:00
Christine Chambers
6fad7c0152 v0.10.8 2021-11-26 11:45:27 +08:00
Christine Chambers
abc1ad4ff9 chore: rename willUnmount hook to match the name in superset-ui/chart (#43) 2021-11-26 11:45:27 +08:00
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