Code Monkey home page Code Monkey logo

polychart2's People

Contributors

chngr avatar diranl avatar tabemasu avatar timmclean avatar wlritchi avatar xuexue avatar zachkocher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

polychart2's Issues

Polyjs.data Implicit Type Coercion Buggy

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.

Is it possible to set font size of title?

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.?

Colors per column value

Is there a way to set a custom color per column value? Or should this be done in separate layers only?

Better defaults for x limits

The x-axis limits chosen by Polychart as default, cutoff extreme values. Here is an example. While, I can set my own limits and enhance the graph, I think Polychart should have these set as defaults.

screen shot 2013-07-09 at 2 51 29 pm

Update Licence

Since polychartjs.com is down and the project is ended, can the licence switch to a more permissive one ?

How do I reverse an axis

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!

Tooltip Offsetting

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)
)

PolyChart2 license appears to conflict with that for PolyChart Builder

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.