I already got the newsletter notification (I am subscribed to everything you have – I hope :)) and these are some truly great achievements, congrats! Five new chart types (Funnel, Pyramid, Error, Waterfall and Box & Whisker), crosshairs and other new features. Truly impressive!
PS: I think I’ll launch my website (in beta mode, but I’ll spread the word) in about two weeks. 3-4 days for now I’ll notify the chart vendors and I’ll spend about 10 days with your feedback, guys, to make your product(s) look really good.
Thanks, Indranil. Yes, that’s the obvious adjustment. I liked you took care of tooltips :)
This is great news, Bivek, thanks a lot!
And truly a great hack for the labels (with stripLines! :))
It’s great to see how you can emulate other types of charts in different flexible ways.
All the best,
lineColor for line charts is a great little feature, it gives you control for each segment.
Could you add this as well to color for area chart points?
I tried to change both lineColor AND color in an area chart. But only the line got a different color, as for line charts.
Brilliant! Thanks, Indranil.
You’re right, Suyash, pie/doughnut charts are single series.
Given this is a common requirement (many competitors implement this feature as built-in, see an example), I would truly appreciate a working sample, if you have better knowledge on how to manipulate those dataPoints. I tried without success.
Just so you know, guys (a very small issue)…
Going back to Bivek’s fiddle, it seems the lineCap/Join does not work with animation. Try adding “animationEnabled: true”: http://jsfiddle.net/cristiscu/1hmmg7fb/5/
It seems it’s been fixed now! The address bar shows it “Secure” now. And it also works in CodePen :)
That’s great news, Bivek, thank you.
Just to clarify:
1. Paste https://cdnjs.cloudflare.com/ajax/libs/canvasjs/1.7.0/canvasjs.js in a new tab, in Chrome. Then look at the address bar, you’ll see “Secure”, the lock icon and “Secure connection”in the related popup. That’s proper SSL.
2. Do this again with https://canvasjs.com/assets/script/canvasjs.min.js. The address bar shows no “Secure”. Expand the info popup and you’ll see “Your connection to this site is not secure”. That’s because on your site SSL is implemented as a redirect. HTTPS is immediately redirected to HTTP, which is not the proper way to do it (there should be a hard, server-side, redirect, with no browser URL change). Browsers and other apps will see no SSL in fact there.
One more thing: your library is already hosted on CDNJS, but it’s an old version (1.7). I used it for a while…
It would be great to have someone refresh it with the latest major release. Even if this is not the latest minor version.
Hi guys, hi Sunil,
(I’ll continue this thread, because it’s strongly related…)
I’d also need a HTTPS to CanvasJS on a CDN. Otherwise, when I post a code with your chart to CodePen, I get an error. That’s because CodePen takes a https API link, and your link redirects from HTTPS to HTTP (it’s seen in fact as HTTP).
I’ll try to upload your library on a CDN and financially support it by myself, but please consider guys that I also looked at a dozen other JS chart libraries and they ALL have both their http/https versions on a public CDN already.
PS: FYI, CodePen went HTTP just one week ago.
Wow, brilliant hack to get the min/max values! :) Thanks, Bivek.
For one single plot area background color, we could also comment out the “interlacedColor:” line from your fiddle.
What’s the status on series borders please? For instance, is it possible to create now a chart with empty white columns? If we set the (fill) color to white, we absolutely need a border.
Is there any hack or workaround to do this?
Yep, this is it :)