Victory-native: Cannot color tickLabels

Created on 3 Aug 2017  路  1Comment  路  Source: FormidableLabs/victory-native

I can't seem to change the color of the axis tick labels.

I'm running "victory-native": "0.14.0"

<VictoryAxis
  tickFormat={tickFormat}
  tickValues={tickValues}
  style={{
    ticks: {color: '#ff0000'},
    tickLabels: {color: '#ff0000'},
  }}
/>

Any idea? Thanks

Most helpful comment

Got it.

The correct style property is fill, not color.

>All comments

Got it.

The correct style property is fill, not color.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChrisGatzo picture ChrisGatzo  路  3Comments

ericschaal picture ericschaal  路  4Comments

kkemple picture kkemple  路  6Comments

WhyX picture WhyX  路  6Comments

hwaterke picture hwaterke  路  6Comments