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
|
||||
* Table description is markdown
|
||||
* Animated scatter plots
|
||||
* Filter widget
|
||||
* Default slice instead of default endpoint
|
||||
* dashboard controller + filters
|
||||
* Color hash in JS
|
||||
|
|
|
@ -127,7 +127,7 @@ function viz_nvd3(slice) {
|
|||
s += "</table>";
|
||||
return s;
|
||||
});
|
||||
chart.pointRange([5, 5000]);
|
||||
chart.pointRange([5, fd.max_bubble_size * fd.max_bubble_size]);
|
||||
|
||||
} else if (viz_type === 'area') {
|
||||
chart = nv.models.stackedAreaChart();
|
||||
|
|
|
@ -476,12 +476,19 @@ class BubbleViz(NVD3Viz):
|
|||
{
|
||||
'label': None,
|
||||
'fields': (
|
||||
'granularity',
|
||||
('since', 'until'),
|
||||
('series', 'entity'),
|
||||
'x', 'y', 'size',
|
||||
'limit',
|
||||
'series', 'entity',
|
||||
'x', 'y',
|
||||
'size', 'limit',
|
||||
)
|
||||
},
|
||||
{
|
||||
'label': 'Chart Options',
|
||||
'fields': (
|
||||
('x_log_scale', 'y_log_scale'),
|
||||
('show_legend', None),
|
||||
'max_bubble_size',
|
||||
)
|
||||
},)
|
||||
|
||||
|
|
Loading…
Reference in New Issue