Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datax-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄营
datax-cloud
Commits
b8f29b48
Commit
b8f29b48
authored
Nov 30, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目初始化
parent
b4dcc1c4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
303 additions
and
77 deletions
+303
-77
visual-chart.js
datax-ui/src/utils/visual-chart.js
+5
-11
ChartPanel.vue
...x-ui/src/views/visual/datachart/components/ChartPanel.vue
+1
-3
ChartDonut.vue
.../views/visual/datachart/components/widgets/ChartDonut.vue
+0
-60
ChartFunnel.vue
...views/visual/datachart/components/widgets/ChartFunnel.vue
+0
-0
ChartSankey.vue
...views/visual/datachart/components/widgets/ChartSankey.vue
+295
-2
ChartScatter.vue
...iews/visual/datachart/components/widgets/ChartScatter.vue
+0
-0
ChartWordCloud.vue
...ws/visual/datachart/components/widgets/ChartWordCloud.vue
+2
-1
No files found.
datax-ui/src/utils/visual-chart.js
View file @
b8f29b48
...
...
@@ -165,17 +165,6 @@ export const chartTypes = [
// }
// },
// {
// name: '环形图', value: 'donut', icon: 'chart_donut',
// status: false,
// component: 'ChartDonut',
// rule: {
// text: '0 行维;0 列维;0 指标',
// check(rows, columns, measures) {
// return rows.length === 0 && columns.length === 0 && measures.length === 0
// }
// }
// },
// {
// name: '旭日图', value: 'sunburst', icon: 'chart_sunburst',
// status: false,
// component: 'ChartSunburst',
...
...
@@ -275,6 +264,11 @@ export const chartSeriesTypes = {
{
name
:
'基础雷达图'
,
value
:
'radar'
},
{
name
:
'区域雷达图'
,
value
:
'arearadar'
}
],
'funnel'
:
[
{
name
:
'基础漏斗图'
,
value
:
'funnel'
},
{
name
:
'金字塔漏斗图'
,
value
:
'pyramidfunnel'
},
{
name
:
'对比漏斗图'
,
value
:
'contrastfunnel'
}
],
'liquidFill'
:
[
{
name
:
'圆形'
,
value
:
'circle'
},
{
name
:
'矩形'
,
value
:
'rect'
},
...
...
datax-ui/src/views/visual/datachart/components/ChartPanel.vue
View file @
b8f29b48
...
...
@@ -30,7 +30,6 @@ import ChartLiquidFill from './widgets/ChartLiquidFill'
import
ChartSankey
from
'./widgets/ChartSankey'
import
ChartGeo
from
'./widgets/ChartGeo'
import
ChartTree
from
'./widgets/ChartTree'
import
ChartDonut
from
'./widgets/ChartDonut'
import
ChartSunburst
from
'./widgets/ChartSunburst'
import
ChartPolar
from
'./widgets/ChartPolar'
...
...
@@ -40,8 +39,7 @@ export default {
ChartTable
,
ChartLine
,
ChartBar
,
ChartPie
,
ChartKpi
,
ChartRadar
,
ChartFunnel
,
ChartScatter
,
ChartGauge
,
ChartTreemap
,
ChartWordCloud
,
ChartLiquidFill
,
ChartSankey
,
ChartGeo
,
ChartTree
,
ChartDonut
,
ChartSunburst
,
ChartPolar
ChartSankey
,
ChartGeo
,
ChartTree
,
ChartSunburst
,
ChartPolar
},
props
:
{
chartSchema
:
{
...
...
datax-ui/src/views/visual/datachart/components/widgets/ChartDonut.vue
deleted
100644 → 0
View file @
b4dcc1c4
<
template
>
<div
ref=
"chart"
:style=
"chartStyle"
>
ChartDonut
</div>
</
template
>
<
script
>
export
default
{
name
:
'ChartDonut'
,
props
:
{
data
:
{
type
:
Array
,
required
:
true
,
default
:
()
=>
[]
},
rows
:
{
type
:
Array
,
required
:
true
,
default
:
()
=>
[]
},
columns
:
{
type
:
Array
,
required
:
true
,
default
:
()
=>
[]
},
values
:
{
type
:
Array
,
required
:
true
,
default
:
()
=>
[]
},
chartType
:
{
type
:
String
,
required
:
true
},
chartTheme
:
{
type
:
String
,
require
:
true
},
chartOption
:
{
type
:
Object
,
require
:
false
,
default
:
()
=>
({})
},
chartStyle
:
{
type
:
Object
,
require
:
false
,
default
:
()
=>
{
return
{
height
:
'200px'
}
}
}
},
created
()
{
console
.
log
(
this
.
data
)
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
datax-ui/src/views/visual/datachart/components/widgets/ChartFunnel.vue
View file @
b8f29b48
This diff is collapsed.
Click to expand it.
datax-ui/src/views/visual/datachart/components/widgets/ChartSankey.vue
View file @
b8f29b48
This diff is collapsed.
Click to expand it.
datax-ui/src/views/visual/datachart/components/widgets/ChartScatter.vue
View file @
b8f29b48
This diff is collapsed.
Click to expand it.
datax-ui/src/views/visual/datachart/components/widgets/ChartWordCloud.vue
View file @
b8f29b48
...
...
@@ -36,7 +36,8 @@ export default {
},
chartTheme
:
{
type
:
String
,
require
:
true
require
:
true
,
default
:
'default'
},
chartOption
:
{
type
:
Object
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment