Comments (3)
Hi @ChauVV
You said you want endSpacing = chartWidth/2
Let's say you want the total chart width to be 280, and endSpacing to be 140.
For this, you can do this-
width={140}
endSpacing={140}
So, the total chart width will become 140+140 = 280
from react-native-gifted-charts.
@Abhinandan-Kushwaha, Thank you for your reply,
but, i mean that,
i want to set shift end of chart from right border,
it's should have a padding for first time.
After that, when i scroll the chart to right, it's should not cut line at middle.
i just want to set first init padding like bar chart in my video.
20240414_075937.mp4
from react-native-gifted-charts.
hi @Abhinandan-Kushwaha , i fork source code and try to add paddingRight but it's not effect.
In react-native-gift-charts
src/Components/BarAndLineChartsWrapper
ScrollView>contentContainerStyle
i try to add paddingRight: 150
but it's not effect.
from react-native-gifted-charts.
Related Issues (20)
- Feature Request HOT 9
- [Feature Request] Make custom stepHeight for specific range of y-Axis HOT 2
- [Question] Andoird performance on bar chart when create 1000 data HOT 1
- Bug: Position Y of datapointlabelComponent in secondary lines are incorrect position Oy #728 HOT 2
- Support for dynamic timestamp values on X-Axis for LineChart HOT 1
- Add Heatmap; Issue with line chart animation HOT 3
- Reducing Initial Spacing Affects X-Axis Label Position; Dot/Strip and Label Not Vertically Aligned HOT 2
- Managing data throws exception HOT 4
- label overflow in barchart HOT 1
- Bug: Negative steps and values in in second y axis are incorrect position HOT 2
- Why the y axis of line chart is shifted up and some data cannot be displayed
- Bug: Min negative step in in left y axis is too long than expected HOT 1
- Having x label without values
- 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
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.