hotfix/2.14.2.2406.02
This commit is contained in:
parent
6bb79ab685
commit
a4e072e3ee
|
|
@ -403,8 +403,8 @@ export const mapBarOptions = (params) => ({
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
top: "10%",
|
top: "10%",
|
||||||
right: "0%",
|
right: "2%",
|
||||||
left: "5%",
|
left: "2%",
|
||||||
bottom: "10%",
|
bottom: "10%",
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
|
|
@ -457,8 +457,9 @@ export const mapBarOptions = (params) => ({
|
||||||
series: _.map(params.data, (item, index) => {
|
series: _.map(params.data, (item, index) => {
|
||||||
return {
|
return {
|
||||||
name: item.name,
|
name: item.name,
|
||||||
barWidth: "32",
|
barMaxWidth: 30,
|
||||||
barGap: "0%",
|
barMinWidth: 10,
|
||||||
|
barGap: 0,
|
||||||
data: _.map(item.data, (it) => it.replace(/,/g, "")),
|
data: _.map(item.data, (it) => it.replace(/,/g, "")),
|
||||||
type: "bar",
|
type: "bar",
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
|
|
@ -505,8 +506,9 @@ export const mapBarOptions = (params) => ({
|
||||||
}),
|
}),
|
||||||
dataZoom: [
|
dataZoom: [
|
||||||
{
|
{
|
||||||
type: "inside"
|
type: "inside",
|
||||||
|
start: params.xAxis.length <= 7 ? 0 : 25,
|
||||||
|
end: params.xAxis.length <= 7 ? 100 : 75,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "slider",
|
type: "slider",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue