Comments (1)
Hi @devevecare 👋
Thanks for requesting this feature. It is now available from version 1.4.18
onwards.🎉
Added the prop secondaryXAxis
to render an additional X axis at the top of the chart.
The labels to be displayed along the secondary X-axis can be passed in these 2 ways-
- Through the property named
secondaryLabel
in the data array - Through the property named
labelTexts
in thesecondaryXAxis
prop.
The secondaryXAxis
props accepts an object of the following type-
XAxisConfig {
thickness?: number
color?: ColorValue
labelsDistanceFromXaxis?: number
labelsHeight?: number
labelsTextStyle?: any
labelTexts?: string[]
}
from react-native-gifted-charts.
Related Issues (20)
- LineChart doesn't display lines of chart on Safari (iPhone) HOT 5
- show labels without having data point to respective label HOT 3
- Bug: Updating state inside pointerLabelComponent HOT 2
- PieChart & PieChartPro prop mismatch
- null or undefined value on line chart HOT 1
- does this library use reanimated? HOT 2
- Charts rendering to many views and dragging performance HOT 2
- Controlling the boundaries of sections painted with sectionColors HOT 4
- LineChart animateOnDataChange crashing when data length is different from previous data HOT 2
- Data Pointer Selection not working HOT 3
- Render better bar charts HOT 1
- X-axis label is not showing correctly And The vertical grid lines is Incomplete HOT 1
- YAxis values in Multple lines in LineChart not showing correct. HOT 1
- Misaligned external label in PieChart HOT 2
- In the LineChart, the pointer line is only displayed in the positive area (above 0). HOT 1
- PieChart's "sectionAutoFocus" and "focusOnPress" don't work in Web HOT 6
- overlapping labels HOT 2
- Question about styling last value of chart in Y axis HOT 3
- Can we give intervals and range on yAxis values? HOT 3
- Can we get total length of yAxis values? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-gifted-charts.