-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Broken and unclear documentation #191
Comments
Thanks for the issue @zedtux! |
This fixes the demo: #192 |
You are right about the axisTimeCombinations, that should be provided along with the chart component. I will fix that soon. For now, you can reference this file: https://github.com/Golodhros/britecharts/blob/6cc31390f7acbe21faafbf30baeeb5921c4c3810/src/charts/helpers/constants.js#L8 |
This should fix it: #193 |
Just to let you know: I've switched to another library, but it's cool you're fixing all that things. Will see in a next project if this lib is strong enough 😉 |
Totally understand! |
package.json needs to be updated to use the latest tag https://github.com/britecharts/britecharts-react/releases/tag/0.6.3 |
Not sure if I understand, it seems the package.json version is 0.6.3 |
Sorry, I was meant to paste this url https://github.com/britecharts/britecharts-react-test-project/blob/master/package.json |
Ah, thanks for the heads up!! |
Expected Behavior
I'm trying to get a line chart working but it's quite hard since the Line documentation examples are broken and quite unclear because, for instance, the first example code look like this:
The import of the
<Line>
component seem to be missing?Current Behavior
After searching a lot, I got a working chart, and I wanted to changed the
axisTimeCombinations
prop. I see there should be some constants to be used (here too, the documentation has a formatting issue on the constant names):But I can't find them in this package so I tried to use
0
and then1
, hoping to find a good one by any luck but then it fails with the following error:The package JavaScript seems to be minified, so it's unreadable 🤷♂️.
Here is my code so far:
BTW I can't get the
<ResponsiveContainer>
component to update thewidth
.Your Environment
The text was updated successfully, but these errors were encountered: