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

Why Chart component not working? #5

Open
Beace opened this issue Jul 14, 2016 · 1 comment
Open

Why Chart component not working? #5

Beace opened this issue Jul 14, 2016 · 1 comment

Comments

@Beace
Copy link

Beace commented Jul 14, 2016

my code:

<Chart>
<LineChart
              showXGrid= {true}
              showYGrid= {true}
              margins= {margins}
              title={title}
              data={ChartData}
              width={width}
              height={height}
              chartSeries={ChartSeries}
              x={x}
            />
</Chart>

It's blank on my webpage.When I delete Chart Component,it working!Why?

@Anima-t3d
Copy link

I think the docs are outdated. I came across the same issue... It seems like <Chart> is the generic component to use when you want to create a chart of a type that is not yet supported. If you want to use a <LineChart> just use that component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants