Opened 11 years ago

Closed 11 years ago

#7964 closed enhancement (invalid)

construct chart from tabular data

Reported by: ptwobrussell Owned by: Eugene Lazutkin
Priority: high Milestone: tbd
Component: Charting Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

It would be really awesome if charts could be constructed trivially from markup as described here: http://bluff.jcoglan.com/api.html

That would be the ultimate in allowing people to just pop in a little bit of JS into their existing app that may already have tabular data sources, and with minimal hassle, get charts up and running with almost no programming required.

Change History (3)

comment:1 Changed 11 years ago by Eugene Lazutkin

What's wrong with http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/charting/tests/test_widget2d.html ? It does use an HTML table as a data source...

comment:2 Changed 11 years ago by ptwobrussell

Interesting; that's really cool. Guess this is another one of those deep, dark, under-appreciated aspects of the Dojo Toolkit because of our documentation/testing dilemma.

Questions/Considerations?:

  • How would I have known to look in that particular test file for that example given that the test name made no mention of using a table store? Maybe we should add in a "test_TabularDataStore" file or something to at least clue people in?
  • Does the table store support multiple series of data? i.e. can I point a single chart to a table with, say 3 columns, and have all 3 series automatically populate, complete with the legend?

I tinkered around with Bluff a bit, and while I think that the Dojo charting engine is superior, I will say that the little documentation that they do have available was really nice to have, and it was really intuitive to get going with Bluff. Digging into our tests makes appreciating our charting engine a lot harder than that.

I have an upcoming Linux Journal article on charting (final draft due in the next week or so, IIRC), and once that's been published, I'll re-post it somewhere under an OSS License according to their terms to try and help out with the charting docs. In that regard, we should try to work together on the charting docs.

comment:3 Changed 11 years ago by Eugene Lazutkin

Resolution: invalid
Status: newclosed

I accept any help on charting docs.

Note: See TracTickets for help on using tickets.