|
@@ -504,7 +504,7 @@ export default class StockHeatmap extends React.Component {
|
|
|
const maxBidAskVol = extractMaxVolume(d);
|
|
const maxBidAskVol = extractMaxVolume(d);
|
|
|
// draw buys
|
|
// draw buys
|
|
|
if (marketDepth.buys && marketDepth.buys.length > 0) {
|
|
if (marketDepth.buys && marketDepth.buys.length > 0) {
|
|
|
- let color = d3.color('#7e9099').rgb();
|
|
|
|
|
|
|
+ let color = d3.color('#1a506d').rgb();
|
|
|
marketDepth.buys.map(buy => {
|
|
marketDepth.buys.map(buy => {
|
|
|
color.opacity = buy.qty / maxBidAskVol;
|
|
color.opacity = buy.qty / maxBidAskVol;
|
|
|
this.drawingContext.fillStyle = color.toString();
|
|
this.drawingContext.fillStyle = color.toString();
|