Improve the chart type of Visualize in sqllab (#3241)

* Improve the chart type of Visualize in sqllab & Add some css & Fix the link address in the navbar

* add vizTypes filter
This commit is contained in:
eeve
2017-08-10 00:12:21 +08:00
committed by Maxime Beauchemin
parent cc36428260
commit 033ba2cb66
4 changed files with 36 additions and 8 deletions

View File

@@ -78,6 +78,7 @@ export const sections = {
export const visTypes = {
dist_bar: {
label: 'Distribution - Bar Chart',
showOnExplore: true,
controlPanelSections: [
{
label: 'Chart Options',
@@ -108,6 +109,7 @@ export const visTypes = {
pie: {
label: 'Pie Chart',
showOnExplore: true,
controlPanelSections: [
{
label: null,
@@ -124,6 +126,7 @@ export const visTypes = {
line: {
label: 'Time Series - Line Chart',
showOnExplore: true,
requiresTime: true,
controlPanelSections: [
sections.NVD3TimeSeries[0],
@@ -194,6 +197,7 @@ export const visTypes = {
bar: {
label: 'Time Series - Bar Chart',
showOnExplore: true,
requiresTime: true,
controlPanelSections: [
sections.NVD3TimeSeries[0],