Untitled

 avatar
unknown
plain_text
2 years ago
1.0 kB
5
Indexable
 <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>
Editor is loading...