Skip to content

Commit

Permalink
Fix: graph tick color (Doenet#1942)
Browse files Browse the repository at this point in the history
  • Loading branch information
ernzher authored Mar 3, 2023
1 parent 3420b63 commit 77fc546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Viewer/renderers/graph.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@ export default React.memo(function Graph(props) {
ticksDistance: 2,
label: {
offset: [12, -2],
layer: 2
layer: 2,
strokeColor: "var(--canvastext)"
},
// minorTicks: 4,
precision: 4,
strokeColor: "var(--canvastext)",
drawLabels: SVs.displayYAxisTickLabels
};
if (SVs.yTickScaleFactor !== null) {
Expand Down Expand Up @@ -562,10 +562,10 @@ export default React.memo(function Graph(props) {
label: {
offset: [-5, -15],
layer: 2,
strokeColor: "var(--canvastext)"
},
// minorTicks: 4,
precision: 4,
strokeColor: 'var(--canvastext)',
drawLabels: SVs.displayXAxisTickLabels
};
if (SVs.xTickScaleFactor !== null) {
Expand Down

0 comments on commit 77fc546

Please sign in to comment.