mirror of https://github.com/apache/superset.git
Minor improvements on the bubble plot
This commit is contained in:
parent
9d0de6c8e7
commit
0a9600d994
2
TODO.md
2
TODO.md
|
@ -3,6 +3,8 @@ List of TODO items for Panoramix
|
||||||
|
|
||||||
## Improvments
|
## Improvments
|
||||||
* Table description is markdown
|
* Table description is markdown
|
||||||
|
* Animated scatter plots
|
||||||
|
* Filter widget
|
||||||
* Default slice instead of default endpoint
|
* Default slice instead of default endpoint
|
||||||
* dashboard controller + filters
|
* dashboard controller + filters
|
||||||
* Color hash in JS
|
* Color hash in JS
|
||||||
|
|
|
@ -127,7 +127,7 @@ function viz_nvd3(slice) {
|
||||||
s += "</table>";
|
s += "</table>";
|
||||||
return s;
|
return s;
|
||||||
});
|
});
|
||||||
chart.pointRange([5, 5000]);
|
chart.pointRange([5, fd.max_bubble_size * fd.max_bubble_size]);
|
||||||
|
|
||||||
} else if (viz_type === 'area') {
|
} else if (viz_type === 'area') {
|
||||||
chart = nv.models.stackedAreaChart();
|
chart = nv.models.stackedAreaChart();
|
||||||
|
|
|
@ -476,12 +476,19 @@ class BubbleViz(NVD3Viz):
|
||||||
{
|
{
|
||||||
'label': None,
|
'label': None,
|
||||||
'fields': (
|
'fields': (
|
||||||
|
'granularity',
|
||||||
('since', 'until'),
|
('since', 'until'),
|
||||||
('series', 'entity'),
|
'series', 'entity',
|
||||||
'x', 'y', 'size',
|
'x', 'y',
|
||||||
'limit',
|
'size', 'limit',
|
||||||
|
)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'label': 'Chart Options',
|
||||||
|
'fields': (
|
||||||
('x_log_scale', 'y_log_scale'),
|
('x_log_scale', 'y_log_scale'),
|
||||||
('show_legend', None),
|
('show_legend', None),
|
||||||
|
'max_bubble_size',
|
||||||
)
|
)
|
||||||
},)
|
},)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue