Giter Site home page Giter Site logo

Example issues about react-vis HOT 8 CLOSED

uber avatar uber commented on May 3, 2024
Example issues

from react-vis.

Comments (8)

bulyonov avatar bulyonov commented on May 3, 2024

@YeomanCai , thank you for your report.

I have a strong assumption that you don't have the CSS file included. We highly suggest to do that, otherwise you'll get a lot of issues (including those which I see right now). Could you double check that you have ./node_modules/react-vis/main.css in head or imported into your SASS file?

Please provide the source code if you'll get this issue again.

from react-vis.

YeomanCai avatar YeomanCai commented on May 3, 2024

@bulyonov , thank you for your help.
I checked what you said, I really missed the style file import. Now LineSeries has worked well. But the VerticalBarSeries still can not display the data inside.
image

from react-vis.

bulyonov avatar bulyonov commented on May 3, 2024

@YeomanCai , we need the source code as well as the screenshot. Could you attach your sourced and your data examples here?

from react-vis.

YeomanCai avatar YeomanCai commented on May 3, 2024

@bulyonov , It comes from https://github.com/uber/react-vis/blob/master/src/example/plot/bar-chart.js.

<XYPlot width={300} height={300}> <VerticalGridLines /> <HorizontalGridLines /> <XAxis /> <YAxis /> <VerticalBarSeries data={[ {x: 1, y: 10}, {x: 2, y: 5}, {x: 3, y: 15} ]}/> <VerticalBarSeries data={[ {x: 1, y: 12}, {x: 2, y: 2}, {x: 3, y: 11} ]}/> </XYPlot>

from react-vis.

YeomanCai avatar YeomanCai commented on May 3, 2024

@bulyonov , excuse me, I have another question, has React-vis implemented the donut chart?

from react-vis.

YeomanCai avatar YeomanCai commented on May 3, 2024

I think that will get more stars if rename React-vis to something like ReactD3xxx or add some descriptions about react chart.

from react-vis.

YeomanCai avatar YeomanCai commented on May 3, 2024

@bulyonov I send my example code as much as possible to you as following, please help to solve this problem, thank you!
qq 20160517232755

from react-vis.

YeomanCai avatar YeomanCai commented on May 3, 2024

The issue caused from my other codes influencing, so now I close the issue.

from react-vis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.