Skip to content

Commit

Permalink
Minor improvements on the bubble plot
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Dec 25, 2015
1 parent 9d0de6c commit 0a9600d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion panoramix/static/widgets/viz_nvd3.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
13 changes: 10 additions & 3 deletions panoramix/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
},)

Expand Down

0 comments on commit 0a9600d

Please sign in to comment.