polychart / polychart2 Goto Github PK
View Code? Open in Web Editor NEWVersion 2 of Polychart.js
License: MIT License
Version 2 of Polychart.js
License: MIT License
When providing a list of data to polyjs.data without a meta argument the resulting polyjs data object produces strange results even for sane inputs. This causes the data not to be rendered correctly in the resulting chart. Please see the example below.
var d = [{"foo": "Period 1"}]
var polydata = polyjs.data(d)
Expected:
d[0].foo == "Period 1"
polydata.raw[0].foo == "Period 1"
Actual:
d[0].foo == 978336000
polydata.raw[0].foo == 978336000
Once I specify a meta object where the type of foo is cat, the polyjs data object works as expected. While I can see this being a valid workaround, given the benign input, it took me a while to track down. I could see this being a big gotcha for other users. Only one of the examples use the meta field. At the very least, this should be better documented.
I created a chart using polychart and want to increase the size of the title font. Inspecting the DOM, I find that the fontsize is hardcoded in the chart generated by the JS, and there is no CSS to control it.
Are there methods that allow control of font size and other aesthetics like color etc.?
Is there a way to rotate axis labels?
Is there a way to set a custom color per column value? Or should this be done in separate layers only?
I am big fan of @ramnathv work on integrating your fantastic library with R. I tried to replicate most of the examples on your site within r using rCharts in the repo https://github.com/timelyportfolio/rCharts_polycharts_standalone. I hope to make a gh-pages tutorial on it also.
Thanks for your fine work.
This in reference to the change made in the Home page of the wiki, here
Github no longer allows hotlinking of assets from raw.github. A workaround is to use the approach suggested at http://rawgithub.com/.
As shown in the example http://bl.ocks.org/timelyportfolio/5483454, the line shows up as an area. I am guessing this is due to sorting or data specification. The point type works fine with this example.
Hello,
This bug was originally raised in this rCharts issue: ramnathv/rCharts#77
Here's my gist: https://gist.github.com/stla/5806015 for the source and http://pagist.github.io/?5806015 for the rendering.
When pointing the mouse to a point in the upper half of the graphics (y>45), there is a huge space between the last item of the tooltip box and the bottom of the tootip box. Moreover this space varies when slightly moving the mouse.
Cheers.
Is there a a CDN link from which I can serve polychart2.min.js
?
If custom label formatting was set, it will be overriden by the default formatter when zooming-in.
Legends are broken in the new version of Polycharts that was pushed. Here are two pages on JSbin, one with the version of Polychart.standalone.js from April 10th (which works), and the other from today (which has legends missing)
Since polychartjs.com is down and the project is ended, can the licence switch to a more permissive one ?
Hi,
Is it possible to rotate the labels of the x-axis?
Here is a jsbin with the html and the resulting page. There are two really weird things that happen on the page:
I have created a tile plot in which I would like to reverse the y-axis. It's currently counting from bottom to top, but I want it to count from top to bottom. So the question is how can I reverse the axis. I didn't find this mentioned in the API and sorting the column with
"y": {"var":"bin(Row,1)", sort:'Column', asc: false},
unfortunately didn't do the trick. Is there a way to do this? Thanks!
I am seeing a mouseover tooltip offset of a couple of inches (much bigger than on the demo pages). This frequently pushes the tooltip outside the rendering div of the chart, making things hard to read. Weirdly, it also changes orientation; when the chart is on its own row the offset is down, but when sharing space with another div the offset goes right. Is there some local tweaking in my chart spec necessary to keep the tooltip close to the mouse/element? Images here. In the first image my mouse is a couple of inches into the chart (and the tooltip is half-outside the render window), and in the second my mouse is on the tall red bar on the left. All of this is on Chromium (Version 31.0.1650.63 Ubuntu 13.10 (31.0.1650.63-0ubuntu0.13.10.1~20131204.1)
)
PolyChart Builder is generously licensed under AGPL to allow internal commercial use, however builder includes PolyChart2, which is licensed CCANC.
Is the intention that PolyChart2 can also be used for internal commercial use, as this seems the be permitted if using the version distributed with builder? If so, please could the license here be changed to to reflect this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.