11.26 修改K线图样式
This commit is contained in:
@@ -55,8 +55,8 @@ const _sfc_main = {
|
||||
grid: {
|
||||
left: "10%",
|
||||
right: "6%",
|
||||
top: "0%",
|
||||
bottom: "20%"
|
||||
top: "5%",
|
||||
bottom: "10%"
|
||||
},
|
||||
xAxis: {
|
||||
type: "category",
|
||||
@@ -83,6 +83,7 @@ const _sfc_main = {
|
||||
position: "top",
|
||||
fontSize: 12
|
||||
},
|
||||
symbol: "none",
|
||||
silent: true,
|
||||
data: [],
|
||||
itemStyle: {
|
||||
@@ -124,6 +125,7 @@ const _sfc_main = {
|
||||
option.series.data = valueData;
|
||||
option.xAxis.data = categoryData;
|
||||
let time = that.eventDetails.event_start_time.split("T")[1];
|
||||
time = time.substring(0, 5);
|
||||
let firstOpen = item.minute_chart_data[0].open;
|
||||
option.series.markLine.data = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user