My problem was the black color that covered the series legend.
You might have already figured out the solution. Still I just wanted to let you know that you can change legend item’s font color so that it doesn’t become invisible because of the same background color.
Is it possibile to have a Y interval from +50 to -10 for example (always)
Yes you can set the axis range using minimum and maximum properties of axisX/axisY. Checkout Axis Range section of this tutorial on axis.
Is it possibile to put the legend name inside toolTipContent.
Yes. Here is an example.
Here is an example that I’ve created with the dataPoints that you provided. Hope this helps.
In case you are not able to fix the issue, please create a jsfiddle which recreates the issue and I’ll try to fix the same.
Can you please let me know what you mean by filter 3 line to 2 line? If you are removing the respective series from the data array, then its respective legend gets removed automatically. Is it not behaving that way?… if not, can you please reproduce the behaviour in jsfiddle so that I can have a look and suggest a solution?
Amit,
For 1:
Yes. Its fine. License is required only for “developers who work with our library” and it does not restrict you on the number of copies you can distribute “as part of your product”. As long as the “developers” working on it have license, its fine. In case your customers are going to directly work with our library to edit/customize your product, then their developers would require a license too. Otherwise its fine.
For 2:
Yes. It’ll allow them to work on your product. At the same time it does not allow them to develop other products which are not for your company.
For 3:
Point 2 of section “Developer License” says “You are allowed to distribute the software along with your product to the end-user.”
—
Sunil Urs
Arun,
is there any other date format the canvas charts can understand,other than the
Basically the chart supports JavaScript Date object apart from unix timestamp. Now you can use any of the available ways to create a JavaScript Date Object and assign it to dataPoint’s x property. Here is one way to do it in UTC.
The same graphs are going to be viewed in different timezones,
so the same set of timestamps are read as different times depending on the timezones.
But i want to fix it to a particular timezone.
This is a common requirement in most applications and one of the best ways to do the same is to send time in UTC from the server and then convert it to required timezone on the client side.
—
Sunil Urs
Arun,
You have two options here.
First option is to convert timestamps to required timezone on the server side and serve the same.
Second option is to use libraries like momentjs on client side to convert your datetime values to required timezone.
Hope this helps.
—
Sunil Urs
Simon,
Its was not a bug. But we had missed out “markerBorderThickness” property in the example – default to zero if not set. Now I’ve updated the same. Please have a look.
Thanks for reporting.
—
Sunil Urs
In that case you’ll have to explicitly set interval, minimum & maximum values of axisY and axisY2 such that 0 is in sync. Here is an example.
—
Sunil Urs
Amit, we have plans to implement the same but don’t have an exact timeline yet. Probably in 6-8 weeks.
Hi Amit,
Below are your questions addressed.
1 – A single developer license can be used for an unlimited number of websites, correct?
Yes. CanvasJS licenses are developer based and hence a single developer in you company can build any number of products/website using it.
2 – I can convert a single developer license to an unlimited developer license if we decide to buy?
Yes. You are allowed to upgrade from single developer to unlimited developer license.
—
Sunil Urs
As Tim mentioned, 0 is Jan and 11 is Dec in JavaScript – it follows zero based index for months. Please refer to this post for more information.
—
Sunil
Tim,
I’ve just published a Roadmap Page with information on the upcoming version – v1.4. In the next couple of weeks we’ll be adding more information to it.
—
Sunil
Pol,
I just figured out the issue. Problem is that safari on iPhone/iPad doesn’t support dateString format that you are providing. Please refer this thread for various solutions available.
Simplest solution would be to replace – with /
So “2014-01-21 11:52:34” would become “2014/01/21 11:52:34”
—
Sunil Urs
I can surely help you with the update issue. But without looking at the code I won’t be able to figure out the problem. Can you please create a JSFiddle that demonstrates the issue – this way I can fix the issue right away.
Tip: Just make sure that you are updating the object and not assigning a new object to the variable each time.
When it comes to displaying 96 labels, don’t you think they’ll start overlapping with so many of them? If you are sure that you have enough space, here is what I suggest
1. Set labelAngle to 90 (or -89.99).
2. Reduce labelFontSize if required.
3. Set axisX interval to 1
If you have problem implementing any of the above, please create a JSFiddle so that I can I can fix it right away.
—
Sunil Urs
Acosta,
You need to create dataPoints with y values set to 0. It is not possible to do it automatically.
—
Sunil