ChartColors constructor
ChartColors({
- Color bgColor = const Color(0xffffffff),
- Color kLineColor = const Color(0xff4C86CD),
- Color lineFillColor = const Color(0x554C86CD),
- Color lineFillInsideColor = const Color(0x00000000),
- Color ma5Color = const Color(0xffE5B767),
- Color ma10Color = const Color(0xff1FD1AC),
- Color ma30Color = const Color(0xffB48CE3),
- Color upColor = const Color(0xFF14AD8F),
- Color dnColor = const Color(0xFFD5405D),
- Color volColor = const Color(0xff2f8fd5),
- Color macdColor = const Color(0xff2f8fd5),
- Color difColor = const Color(0xffE5B767),
- Color deaColor = const Color(0xff1FD1AC),
- Color kColor = const Color(0xffE5B767),
- Color dColor = const Color(0xff1FD1AC),
- Color jColor = const Color(0xffB48CE3),
- Color rsiColor = const Color(0xffE5B767),
- Color defaultTextColor = const Color(0xFF909196),
- Color nowPriceUpColor = const Color(0xFF14AD8F),
- Color nowPriceDnColor = const Color(0xFFD5405D),
- Color nowPriceTextColor = const Color(0xffffffff),
- Color trendLineColor = const Color(0xFFF89215),
- Color depthBuyColor = const Color(0xFF14AD8F),
- Color depthBuyPathColor = const Color(0x3314AD8F),
- Color depthSellColor = const Color(0xFFD5405D),
- Color depthSellPathColor = const Color(0x33D5405D),
- Color selectBorderColor = const Color(0xFF222223),
- Color selectFillColor = const Color(0xffffffff),
- Color gridColor = const Color(0xFFD1D3DB),
- Color infoWindowNormalColor = const Color(0xFF222223),
- Color infoWindowTitleColor = const Color(0xFF4D4D4E),
- Color infoWindowUpColor = const Color(0xFF14AD8F),
- Color infoWindowDnColor = const Color(0xFFD5405D),
- Color hCrossColor = const Color(0xFF222223),
- Color vCrossColor = const Color(0x28424652),
- Color crossTextColor = const Color(0xFF222223),
- Color maxColor = const Color(0xFF222223),
- Color minColor = const Color(0xFF222223),
constructor chart color
Implementation
ChartColors({
this.bgColor = const Color(0xffffffff),
this.kLineColor = const Color(0xff4C86CD),
///
this.lineFillColor = const Color(0x554C86CD),
///
this.lineFillInsideColor = const Color(0x00000000),
///
this.ma5Color = const Color(0xffE5B767),
this.ma10Color = const Color(0xff1FD1AC),
this.ma30Color = const Color(0xffB48CE3),
this.upColor = const Color(0xFF14AD8F),
this.dnColor = const Color(0xFFD5405D),
this.volColor = const Color(0xff2f8fd5),
this.macdColor = const Color(0xff2f8fd5),
this.difColor = const Color(0xffE5B767),
this.deaColor = const Color(0xff1FD1AC),
this.kColor = const Color(0xffE5B767),
this.dColor = const Color(0xff1FD1AC),
this.jColor = const Color(0xffB48CE3),
this.rsiColor = const Color(0xffE5B767),
this.defaultTextColor = const Color(0xFF909196),
this.nowPriceUpColor = const Color(0xFF14AD8F),
this.nowPriceDnColor = const Color(0xFFD5405D),
this.nowPriceTextColor = const Color(0xffffffff),
/// trend color
this.trendLineColor = const Color(0xFFF89215),
///depth color
this.depthBuyColor = const Color(0xFF14AD8F),
this.depthBuyPathColor = const Color(0x3314AD8F),
this.depthSellColor = const Color(0xFFD5405D),
this.depthSellPathColor = const Color(0x33D5405D),
///value border color after selection
this.selectBorderColor = const Color(0xFF222223),
///background color when value selected
this.selectFillColor = const Color(0xffffffff),
///color of grid
this.gridColor = const Color(0xFFD1D3DB),
///color of annotation content
this.infoWindowNormalColor = const Color(0xFF222223),
this.infoWindowTitleColor = const Color(0xFF4D4D4E), //0xFF707070
this.infoWindowUpColor = const Color(0xFF14AD8F),
this.infoWindowDnColor = const Color(0xFFD5405D),
this.hCrossColor = const Color(0xFF222223),
this.vCrossColor = const Color(0x28424652),
this.crossTextColor = const Color(0xFF222223),
///The color of the maximum and minimum values in the current display
this.maxColor = const Color(0xFF222223),
this.minColor = const Color(0xFF222223),
});