Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new: add XYChart proof-of-concept #745

Closed
wants to merge 45 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
9c21cc4
new(vx-xy-chart): add empty package
williaster May 29, 2020
52d9d5d
new(vx-demo/sandbox): add XYChart proof-of-concept
williaster Jun 3, 2020
5a25652
fix(vx-demo/vx-chart-poc): fix lodash/debounce dep
williaster Jun 3, 2020
bad3357
fix(vx-demo/vx-chart-poc): fix lodash/debounce dep again
williaster Jun 3, 2020
90f64d2
fix(vx-demo/vx-chart-poc): fix Axis import
williaster Jun 3, 2020
aec1f33
deps(vx-demo/vx-chart-poc): add @vx/pattern dep
williaster Jun 3, 2020
9bdae5a
new(vx-demo/vx-chart-poc): add theme
williaster Jun 3, 2020
f281b67
new(vx-chart-poc): improve scale logic + typings
williaster Jun 3, 2020
a4ba950
new(vx-chart-poc): add Brush
williaster Jun 5, 2020
e18ab12
new(vx-chart-poc): add Brush to Example, add Tooltip and EventContext
williaster Jun 5, 2020
453f490
(vx-chart-poc): remove Zoomable for now
williaster Jun 8, 2020
856bcbb
new(vx-chart-poc/ChartBackground): take values from theme
williaster Jun 11, 2020
08d31bb
new(vx-chart-poc): add animated BarSeries + LineSeries
williaster Jun 11, 2020
6d03ef5
new(vx-chart-poc/providers): add TooltipProvider + Context, lots of C…
williaster Jun 11, 2020
dbe68bf
new(vx-chart-poc): add darkTheme
williaster Jun 11, 2020
b27e2de
new(vx-chart-poc): lots of additions and cleanup
williaster Jun 11, 2020
1355b29
deps(vx-chart-poc): add react-spring dep
williaster Jun 11, 2020
b0250a2
vx-chart-poc: remove Brush from Example for now
williaster Jun 12, 2020
1aa7ac3
fix(vx-chart-poc): fix Brush + Tooltip imports
williaster Jun 12, 2020
d6b55a5
fix(vx-chart-poc): fix example to work with current cityTemperature d…
williaster Jun 12, 2020
d0e270e
fix(vx-chart-poc): get band date ticks working correctly with current…
williaster Jun 12, 2020
1fe6445
new(vx-chart-poc): add AnimatedAxis
williaster Jun 13, 2020
eabf239
fix(vx-chart-poc/AnimatedTicks): fix import
williaster Jun 13, 2020
5c656b1
style(vx-chart-poc/src/buildChartTheme): increase axis label offset
williaster Jun 13, 2020
d863adb
fix(AnimatedTicks): add horizontal prop to transition key
williaster Jun 14, 2020
3daec00
new(vx-chart-poc): Add Portal
williaster Jun 14, 2020
f515410
new(vx-chart-poc): add support for rendering Tooltip in Portal
williaster Jun 14, 2020
4f3670c
new(vx-chart-poc): add colorScale to context, use in LineSeries + Bar…
williaster Jun 14, 2020
1065aa9
new(vx-chart-poc): add Legend
williaster Jun 16, 2020
3bb8da2
deps(vx-demo/vx-chart-poc): add react-use-measure
williaster Jun 17, 2020
e19bebb
new(vx-chart-poc/XYChart): use react-use-measure
williaster Jun 17, 2020
bd548d9
fix(vx-chart-poc): add LegendLineShape locally
williaster Jun 17, 2020
34ec55c
fix(vx-chart-poc): fix Example styles, update deps
williaster Jun 17, 2020
7ba55ee
new(vx-chart-poc): add mvp Group series
williaster Jun 25, 2020
eb32350
new(vx-chart-poc/ChartProvider): allow registering multiple data keys…
williaster Jun 25, 2020
d653762
new(vx-chart-poc): add Series selection to Example
williaster Jun 25, 2020
6a5f9aa
fix(vx-chart-poc): fix default legend shapes
williaster Jun 30, 2020
8c2c61b
new(vx-chart-poc): add findNearestDatum support to chart registry
williaster Jun 30, 2020
a361888
fix(vx-chart-poc): fix legend renderer, use Portal from @vx/tooltip
williaster Jun 30, 2020
b46daf6
new(vx-chart-poc): add findNearestDatumSingleDimension, findNearestDa…
williaster Jul 1, 2020
0bdd536
new(vx-chart-poc): add Stack and ability for series to affect scale d…
williaster Jul 2, 2020
6d70726
new(vx-chart-poc): add AnimatedBarGroup
williaster Jul 3, 2020
4593631
new(vx-chart-poc): add AnimatedBars, use in Group + Stack
williaster Jul 3, 2020
9f3875a
new(vx-chart-poc/withRegisteredData): ensure props.data === dataRegis…
williaster Jul 3, 2020
855313c
new(xy-chart): add hook to context for full scale modification, not j…
williaster Aug 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vx-axis/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export type SharedAxisProps<ScaleInput> = {
/** The color for the stroke of the lines. */
stroke?: string;
/** The pixel value for the width of the lines. */
strokeWidth?: number;
strokeWidth?: string | number;
/** The pattern of dashes in the stroke. */
strokeDasharray?: string;
/** The class name applied to each tick group. */
Expand Down
1 change: 1 addition & 0 deletions packages/vx-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"react-markdown": "^4.3.1",
"react-spring": "^8.0.27",
"react-tilt": "^0.1.4",
"react-use-measure": "^2.0.1",
"recompose": "^0.26.0",
"topojson-client": "^3.0.0"
},
Expand Down
14 changes: 14 additions & 0 deletions packages/vx-demo/src/pages/XYChart.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';
import Show from '../components/Show';
import XYChart from '../sandboxes/vx-chart-poc/Example';
import XYChartSource from '!!raw-loader!../sandboxes/vx-chart-poc/Example';

export default () => (
<Show
component={XYChart}
title="XYChart Proof-of-Concept"
margin={{ top: 0, right: 0, bottom: 0, left: 0 }}
>
{XYChartSource}
</Show>
);
Loading