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

no conten #147

Open
xxfreedom opened this issue Nov 11, 2016 · 7 comments
Open

no conten #147

xxfreedom opened this issue Nov 11, 2016 · 7 comments

Comments

@xxfreedom
Copy link

xxfreedom commented Nov 11, 2016

I try the demo code ,but don't show chart ,just Tow lines. it's ios9.0
2

@rhysowen
Copy link

Instead of

const data = [[
    [0, 1],
    [1, 3],
    [3, 7],
    [4, 9],
]];

try

const data = [
    [0, 1],
    [1, 3],
    [3, 7],
    [4, 9],
];

@xBATx
Copy link

xBATx commented Nov 21, 2016

Hello @rhysowen,
how about data in multiline graphs? Could you give an example, how it should look like (how to pass them to chart)?
Thanks.

@rhysowen
Copy link

@xBATx, I'll try to answer this soon. What have you tried so far?

@xBATx
Copy link

xBATx commented Nov 24, 2016

I'm using latest version from npm. When I define data as following:
const data = [[
[0, 1],
[1, 3],
[3, 7],
[4, 9]
], [
[0, 1],
[1, 3],
[3, 7],
[4, 9]
]];

The warning with title "Component's children should not be mutated." is thrown and graph has no content. Do you have any suggestions to how to deal with this? Should I use latest code from this repo? I though that multiline graphs are just implemented and there is no problem with using them, because they are marked as done in TODO list.

@edencakir
Copy link

+1 !

@luco
Copy link

luco commented Jun 21, 2017

+1 on this, but when I remove the brackets, I get this:

image

@tomauty
Copy link
Owner

tomauty commented Jul 7, 2017

As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.

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

6 participants