g1 issues
https://code.gramener.com/cto/g1/-/issues
2018-12-19T16:08:43Z
https://code.gramener.com/cto/g1/-/issues/78
Implement a formhandler Tree View
2018-12-19T16:08:43Z
Tejesh
Implement a formhandler Tree View
References:
https://docs.webix.com/desktop__treetable.html
https://frappe.io/datatable - Tree View section
https://gramener.invisionapp.com/d/main#/console/13753225/303473425/preview - BMGF project design link
References:
https://docs.webix.com/desktop__treetable.html
https://frappe.io/datatable - Tree View section
https://gramener.invisionapp.com/d/main#/console/13753225/303473425/preview - BMGF project design link
https://code.gramener.com/cto/g1/-/issues/10
Implement a formhandler treemap
2018-07-16T11:29:40Z
S Anand
Implement a formhandler treemap
https://code.gramener.com/cto/g1/-/issues/11
Implement a FormHandler sunburst
2018-07-16T11:29:11Z
S Anand
Implement a FormHandler sunburst
https://code.gramener.com/cto/g1/-/issues/12
Implement a FormHandler Sankey
2018-07-16T11:29:06Z
S Anand
Implement a FormHandler Sankey
https://code.gramener.com/cto/g1/-/issues/13
Implement a FormHandler network chart
2018-07-16T11:28:56Z
S Anand
Implement a FormHandler network chart
https://code.gramener.com/cto/g1/-/issues/45
create label and positional annotation component
2018-04-29T05:12:57Z
Tejesh
create label and positional annotation component
sample spec
```js
var chart = g1.createChart('scatterplot', data, options)
chart.annotate(position, text, styles)
chart.label(data, {
label: {
col_name: [...],
//example
Continent: ['Asia', 'Europe'],
ID: ['AND', 'ARB'...
sample spec
```js
var chart = g1.createChart('scatterplot', data, options)
chart.annotate(position, text, styles)
chart.label(data, {
label: {
col_name: [...],
//example
Continent: ['Asia', 'Europe'],
ID: ['AND', 'ARB']
},
highlight: true,
auto: false
})
```
src: https://blog.datawrapper.de/weeklychart-biocapacity/
![image](/uploads/2cd992ce4538eb92ae519e8b45ca3ffe/image.png)
https://code.gramener.com/cto/g1/-/issues/43
Sanddance facets
2018-04-25T12:38:46Z
S Anand
Sanddance facets
```js
var barchart = g1.sanddance({
layout: 'grid'
width: 100,
height: 100,
// Group by category, which is a number from 0 - 3
group: function(d) { return d.category },
facets: [
{x: 0, y: 0, width: 100, height: 20},
...
```js
var barchart = g1.sanddance({
layout: 'grid'
width: 100,
height: 100,
// Group by category, which is a number from 0 - 3
group: function(d) { return d.category },
facets: [
{x: 0, y: 0, width: 100, height: 20},
{x: 0, y: 25, width: 100, height: 20},
{x: 0, y: 50, width: 100, height: 20},
{x: 0, y: 75, width: 100, height: 20},
],
data: data
})
d3.selectAll('circle')
.data(data)
.call(barchart)
```
... should create something like this:
![image](/uploads/9d579860345aa8e8b41ce444c3fb4125/image.png)
Elango Bharathi
Elango Bharathi