mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
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:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user