Skip to content

Commit

Permalink
Revert "fixed #392 (#401)" (#404)
Browse files Browse the repository at this point in the history
This reverts commit 9d85599.
  • Loading branch information
svk31 authored Sep 14, 2017
1 parent 9d85599 commit 5ad9ae0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions app/assets/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module.exports = {
settleFillColor: "rgba(125, 134, 214, 0.5)",
positiveColor: "#258A14",
negativeColor: "#DB0000",
strokeColor: "#FFFF00",
primaryText: "#e0e0e0",
volumeColor: "#848484",

Expand All @@ -55,7 +54,6 @@ module.exports = {
settleFillColor: "rgba(125, 134, 214, 0.5)",
positiveColor: "#528c0a",
negativeColor: "rgba(225, 66, 74, 1)",
strokeColor: "#000000",
primaryText: "#242424",
volumeColor: "#848484",

Expand Down
3 changes: 1 addition & 2 deletions app/components/Exchange/PriceChartD3.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class CandleStickChartWithZoomPan extends React.Component {
const { height, width, showVolumeChart, indicators } = this.props;
const { timeFormatter, volumeFormat, priceFormat, margin, enableTrendLine,
enableFib, calculators } = this.state;
const { positiveColor, negativeColor, strokeColor, axisLineColor, indicatorLineColor } = this._getThemeColors();
const { positiveColor, negativeColor, axisLineColor, indicatorLineColor } = this._getThemeColors();

let gridHeight = height - margin.top - margin.bottom;
let gridWidth = width - margin.left - margin.right;
Expand Down Expand Up @@ -254,7 +254,6 @@ class CandleStickChartWithZoomPan extends React.Component {
<CandlestickSeries
wickStroke={d => d.close > d.open ? positiveColor : negativeColor}
fill={d => d.close > d.open ? positiveColor : negativeColor}
stroke={d => Math.abs(d.close - d.open) <= 0.0015 ? (strokeColor || '#000') : '#000'}
opacity={0.8}
/>
{indicators.bb ? <BollingerSeries calculator={calculators.bb} /> : null}
Expand Down

0 comments on commit 5ad9ae0

Please sign in to comment.