Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.0 kB
3
Indexable
Never
 <View center style={{ transform: 'rotate(270deg)' }}>
      <VictoryChart polar>
        <VictoryPolarAxis
          style={{
            axis: { strokeOpacity: 0 },
            grid: { stroke: 'rgba(65, 105, 207, 1)' },
            tickLabels: { fontSize: 12, fillOpacity: 0, angle: 90 },
          }}
        />
        <VictoryPolarAxis
          dependentAxis
          tickValues={['1', '2', '3', '4', '5']}
          style={{
            grid: { stroke: 'rgba(65, 105, 207, 1)', strokeWidth: 1, strokeDasharray: '9, 9' },
            axis: { strokeOpacity: 0 },
            tickLabels: { fontSize: 14, padding: 10, fill: 'rgba(65, 105, 207, 1)', angle: 90 },
          }}
        />
        <VictoryArea
          data={data}
          x="x"
          y="y"
          style={{
            data: {
              fill: 'rgba(10, 109, 198, 0.5)',
              fillOpacity: 0.8,
              stroke: 'rgba(10, 109, 198, 1)',
              strokeWidth: 2,
            },
          }}
        />
      </VictoryChart>
    </View>