新聞中心
dataZoom[i]-slider.textStyle.color | Color
[ default: #333 ]

企業(yè)建站必須是能夠以充分展現(xiàn)企業(yè)形象為主要目的,是企業(yè)文化與產(chǎn)品對外擴(kuò)展宣傳的重要窗口,一個(gè)合格的網(wǎng)站不僅僅能為公司帶來巨大的互聯(lián)網(wǎng)上的收集和信息發(fā)布平臺(tái),成都創(chuàng)新互聯(lián)公司面向各種領(lǐng)域:混凝土攪拌罐車等網(wǎng)站設(shè)計(jì)、營銷型網(wǎng)站建設(shè)解決方案、網(wǎng)站設(shè)計(jì)等建站排名服務(wù)。
dataZoomSlider 文字的顏色。
dataZoom[i]-slider.textStyle.fontStyle | string
[ default: 'normal' ]
dataZoomSlider 文字字體的風(fēng)格
可選:
- 'normal'
- 'italic'
- 'oblique'
dataZoom[i]-slider.textStyle.fontWeight | string
[ default: normal ]
dataZoomSlider 文字字體的粗細(xì)
可選:
- 'normal'
- 'bold'
- 'bolder'
- 'lighter'
- 100 | 200 | 300 | 400...
dataZoom[i]-slider.textStyle.fontFamily | string
[ default: 'sans-serif' ]
dataZoomSlider 文字的字體系列
還可以是 'serif' , 'monospace', 'Arial', 'Courier New', 'Microsoft YaHei', ...
dataZoom[i]-slider.textStyle.fontSize | number
[ default: 12 ]
dataZoomSlider 文字的字體大小
dataZoom[i]-slider.textStyle.lineHeight | number
行高。
rich 中如果沒有設(shè)置 lineHeight,則會(huì)取父層級(jí)的 lineHeight。例如:
{
lineHeight: 56,
rich: {
a: {
// 沒有設(shè)置 `lineHeight`,則 `lineHeight` 為 56
}
}
}dataZoom[i]-slider.textStyle.width | number, string
dataZoomSlider 文字塊的寬度。
一般不用指定,不指定則自動(dòng)是文字的寬度。在想做表格項(xiàng)或者使用圖片(參見 backgroundColor)時(shí),可能會(huì)使用它。
注意,文字塊的 width 和 height 指定的是內(nèi)容高寬,不包含 padding。width 也可以是百分比字符串,如 '100%'。表示的是所在文本塊的 contentWidth(即不包含文本塊的 padding)的百分之多少。之所以以 contentWidth 做基數(shù),因?yàn)槊總€(gè)文本片段只能基于 content box 布局。如果以 outerWidth 做基數(shù),則百分比的計(jì)算在實(shí)用中不具有意義,可能會(huì)超出。
注意,如果不定義 rich 屬性,則不能指定 width 和 height。dataZoom[i]-slider.textStyle.height | number, string
dataZoomSlider 文字塊的高度。一般不用指定,不指定則自動(dòng)是文字的高度。在使用圖片(參見 backgroundColor)時(shí),可能會(huì)使用它。
注意,文字塊的 width 和 height 指定的是內(nèi)容高寬,不包含 padding。
注意,如果不定義 rich 屬性,則不能指定 width 和 height。
dataZoom[i]-slider.textStyle.textBorderColor | string
[ default: 'transparent' ]
設(shè)置 dataZoomSlider 文字本身的描邊顏色。
dataZoom[i]-slider.textStyle.textBorderWidth | number
[ default: 0 ]
設(shè)置 dataZoomSlider 文字本身的描邊寬度。
dataZoom[i]-slider.textStyle.textShadowColor | string
[ default: 'transparent' ]
設(shè)置 dataZoomSlider 文字本身的陰影顏色。
dataZoom[i]-slider.textStyle.textShadowBlur | number
[ default: 0 ]
設(shè)置 dataZoomSlider 文字本身的陰影長度。
dataZoom[i]-slider.textStyle.textShadowOffsetX | number
[ default: 0 ]
設(shè)置 dataZoomSlider 文字本身的陰影 X 偏移。
dataZoom[i]-slider.textStyle.textShadowOffsetY | number
[ default: 0 ]
設(shè)置 dataZoomSlider 文字本身的陰影 Y 偏移。
名稱欄目:創(chuàng)新互聯(lián)ECharts教程:ECharts滑動(dòng)條型數(shù)據(jù)區(qū)域縮放組件文字樣式的設(shè)置
新聞來源:http://m.fisionsoft.com.cn/article/cophhpi.html


咨詢
建站咨詢
