Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli committed Apr 14, 2018
1 parent 9e3b762 commit 8c27cc3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/SummaryPanel/ErrorRatePieChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ export default class ErrorRatePieChart extends React.Component<ErrorRatePieChart
className="pie-chart-pf"
size={{ width: this.props.width, height: this.props.height }}
data={{
// pf-blue-400, pf-light-green-400, pf-orange-400, pf-red-300
colors: { '%OK': '#0088ce', '%3xx': '#92d400', '%4xx': '#ec7a08', '%5xx': '#8b0000' },
colors: {
'%OK': '#0088ce', // pf-blue-400
'%3xx': '#92d400', // pf-light-green-400
'%4xx': '#ec7a08', // pf-orange-400
'%5xx': '#8b0000' // pf-red-300
},
columns: [
['%OK', this.props.percent2xx + 50],
['%3xx', this.props.percent3xx + 40],
Expand Down

0 comments on commit 8c27cc3

Please sign in to comment.