summaryrefslogtreecommitdiffstats
path: root/js
Commit message (Collapse)AuthorAgeFilesLines
* Add 'include' function to strapdownTakayuki MATSUOKA2015-05-051-0/+24
| | | | | | | | Usage: Set 'src' attribute to <xmp> tag to include external Markdown file. Example : <xmp theme="sandstone" style="display:none;" src="lz4_Block_format.md"></xmp>
* Add type estimation to rendercharts.js to improve CSV portabilityTakayuki MATSUOKA2015-04-031-3/+58
|
* Replace chartselector by Bootstrap's tab.Takayuki MATSUOKA2015-04-023-59/+15
| | | | | js/bootstrap-patch.css is copied from the following answer on SO : http://stackoverflow.com/a/23267110/2132223
* Add js/chartselector.jsTakayuki MATSUOKA2015-04-021-0/+57
|
* Remove js/csvToArray.v.2.1.jsTakayuki MATSUOKA2015-03-311-91/+0
| | | | csvToArray is merged to js/rendercharts.js
* Add js/rendercharts.jsTakayuki MATSUOKA2015-03-311-0/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | js/rendercharts.js is JavaScript filter which renders <div> tag which has data-csv-props attribute. js/rendercharts.js invoke Google Charts script for rendering. "data-csv-props" attribute is custom properties for js/rendercharts.js. Properties which has "csv" prefix are basic settings for js/rendercharts.js. "csvSrc" : Source CSV URL "csvGvType": Google Charts class name "csvGvPackage": Google Charts package name. See Each Google Charts class document has "Loading" section - https://google-developers.appspot.com/chart/interactive/docs/gallery/table#Loading - https://google-developers.appspot.com/chart/interactive/docs/gallery/combochart#Loading In this section, you can find "class name" and "package name". Other properties are "Configuration Options" for specific Google Charts class. Each class document has "Configuration Options" section - https://google-developers.appspot.com/chart/interactive/docs/gallery/table#Configuration_Options - https://google-developers.appspot.com/chart/interactive/docs/gallery/combochart#Configuration_Options # CSV file format Each column in CSV header (first) line must contain "type" suffix. Suffix format is "ColumnName:ColumnType". "ColumnType" must be choosen from the type name { "string", "number", "boolean" }. CSV example : ``` "Name:string","Salary:number","Full Time Employee:boolean" Mike,10000,true Jim,8000,false Alice,12500,true Bob,7000,true ```
* Import csv-to-arrayTakayuki MATSUOKA2015-03-311-0/+91
https://code.google.com/p/csv-to-array/