-
Notifications
You must be signed in to change notification settings - Fork 299
Many Chart/Dataset Options Do Have Any Effect #182
Comments
Can you wrap your code samples with backticks to make them easier to read? I might be able to see what is wrong then. Also, your title is missing the word "not", which is confusing. You should probably fix that. |
Have a similar issue with Here is a workaround for making the area under the graph not be filled.
|
@darvid7 thanks a lot! |
+1. I'm having similar issues. However, it could be the chart.js documentation. It is rather confusing trying to work through the different levels of properties they have and how they should be correctly nested. But I have this:
Which matches the example they have in their documentation. But has no effect. I think I read in a separate issue that the docs are for chart.js v2 though, and maybe v1 is different? So maybe the options do work but we're setting the incorrect ones. |
Options is not working. It is not about version of chart js. Useless component. |
hi everyone, please refer to Chart.js version 1.1.1 Documentation. The We're in the process of adding support for Chart.js 2.0. If you want help out, please use the branch |
Hi @Jareechang
and then show a line graph
None of the options are even considered... |
Hi, I have been trying to customize the look and feel of my charts using the options found in the chart.js documentation, but many of them do not have any effect. For example, I will pass something like
{
labels: ["January", "February", "March", "April", "May", "June", "July"],
datasets: [
{
label: "TheChart",
strokeColor: "rgba(220,220,220,1)",
fill: false,
data: rand(32, 100, 10)
}
]
}
To my test chart, but the area below the line will still be filled, even though I have set fill to false.
I have also been unable to disable tooltips. I tried to do this by passing the following to options:
{
tooltips: {
enabled: false,
backgroundColor: "rgba(0, 0, 0, 0)",
}
}
But I still get a tooltip.
Is there something I am doing wrong here, or are some of these chart options just not available in react?
The text was updated successfully, but these errors were encountered: