Comments (5)
npmcdn.com allows this very easily
https://npmcdn.com/[email protected]/dist/victory.min.js
from victory.
Add npmcdn urls to all victory component repos
from victory.
As far as I know, the expected usage of the dist
bundle looks something like:
<div id="app"></div>
<script src="//fb.me/react-0.14.3.js"></script>
<script src="//fb.me/react-dom-0.14.3.js"></script>
<script src="//npmcdn.com/[email protected]/dist/victory-bar.js"></script>
<script>
var bar = React.createElement(VictoryBar);
ReactDOM.render(bar, document.getElementById("app"));
</script>
...which doesn't work: there's an error in Radium's enhancer.js
:
TypeError: Cannot read property 'Component' of undefined
Something in Radium or VictoryBar is not using the global React, which most likely means that our webpack config in builder-victory-component
is messed up.
from victory.
fixed by #134
you can also check JSBin or JSFiddle examples and play around with Victory:
from victory.
Also, cljsfiddle now! http://cljsfiddle.com/#gist=76289b7500a39349051bef8a2ad3aced
from victory.
Related Issues (20)
- VictoryVoronoiContainer labels behave differently when used with multiple VictoryBars and voronoiDimension
- Avoiding crowding of labels in VictoryLine chart
- Automatically adjusting AxisLabel placement
- Upgrade Storybook and Webpack
- How can I achieve bar overlapping feature HOT 1
- VictoryLine is not being displayed in Huawei devices with Android 10 HOT 1
- [victory-native] VictoryVoronoiContainer is not working properly with VictoryArea HOT 4
- Use forward refs instead of `containerRef` for references to the rendered chart HOT 2
- Keeping Font Size Consistent in Charts with Different Sizes HOT 2
- Remove defaultProps from class components HOT 1
- Gallery page error HOT 5
- Victory documentation - sidebar items are not showing HOT 3
- VictoryScatter domain padding does not apply to start of axis
- /*#__PURE__*/ annotations don't play well with Vite / Rollup HOT 4
- Link to Victory Native XL from Victory Native docs
- Remove dependency on `prop-types` HOT 2
- Latest [36.8.1] causing infinite test runs due to a max-depth issue in VictoryTransition HOT 6
- Remove dependency on `lodash` HOT 3
- Victory Pie data will transform any color related name string into its rgb value HOT 1
- Incorrect positioning of a VictoryLabel's background when its dy is a function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from victory.