-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SideTitles for x value on BarChartData #342
Comments
Could you please show me your use-case? |
I've included an example which should hopefully make it clear! First, the
The FlTitlesData to show the data on the X and Y Axis.
As you can see below, the 72 pulls through to the Y-Axis and the BarChartData with the intervals at 20.0, but the X-axis shows 0.0. instead of the 12. I have been using the X-Axis to pull through the date in Can you let me know if I'm using the |
I agree with you, |
Check out the 0.10.1 version. |
Is there any way both the index and the x value can both be part of GetTitleFunction? After updating to 0.10.1 there is now no way to show the bottom tittles correctly within my application. I used the index to know where to pull the display data. I think there are valid use-cases for each piece of data. |
I've had a bit of an issue showing the date which I've used in as
x
for theBarChartGroupData
and converting to theSideTitles
for the group value.It looks like the group value shows the index of the
BarChartGroupData
instead of the x value?Can you let me know if there is a way to get the
x
value in thebottom: SideTitles
?I have been able to do it fine with the
LineBarChart
where it takes thex
from theFLSpots
, and they
value pulls through as expected for theleft: SideTitle
.The text was updated successfully, but these errors were encountered: