From 50f69eb9ec6e0ac7f057e4179c102fc70201f809 Mon Sep 17 00:00:00 2001 From: Jesse Date: Mon, 4 May 2020 23:30:00 -0400 Subject: [PATCH] energy labels for bar graph are black, see phetsims/griddle#49 --- js/common/view/EnergyGraphNode.js | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/js/common/view/EnergyGraphNode.js b/js/common/view/EnergyGraphNode.js index f4d2d3a5..18c70927 100644 --- a/js/common/view/EnergyGraphNode.js +++ b/js/common/view/EnergyGraphNode.js @@ -136,24 +136,19 @@ function EnergyGraphNode( model, tandem ) { this.barChartNode = new BarChartNode( [ { entries: [ aEntry ], - labelString: keString, - labelColor: PhetColorScheme.KINETIC_ENERGY + labelString: keString }, { entries: [ bEntry ], - labelString: peGravString, - labelColor: PhetColorScheme.GRAVITATIONAL_POTENTIAL_ENERGY + labelString: peGravString }, { entries: [ cEntry ], - labelString: peElasString, - labelColor: PhetColorScheme.ELASTIC_POTENTIAL_ENERGY + labelString: peElasString }, { entries: [ dEntry ], - labelString: eThermString, - labelColor: PhetColorScheme.HEAT_THERMAL_ENERGY, - labelNode: clearThermalButton + labelString: eThermString }, { entries: [ aEntry, bEntry, cEntry, dEntry ],