Skip to content
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

customize xAxis (padding, labels) #448

Open
iOSdev-klimov opened this issue Aug 7, 2023 · 5 comments
Open

customize xAxis (padding, labels) #448

iOSdev-klimov opened this issue Aug 7, 2023 · 5 comments

Comments

@iOSdev-klimov
Copy link

iOSdev-klimov commented Aug 7, 2023

Hey, guys, I need your assist a bit.

  1. I would like to represent visible number of elements on xAxis 7, when data is loaded. How can I adjust xAxis elements distance in that way, to show 7 days of week. Also I added AAScrollablePlotArea with minWIdth(1800).

  2. Second problem is, on xAxis, I wanna make bold xAxis label for today, other date labels remain as regular.

  3. Third one is related to second, in picture below my xAxis label is data is represented as one line. I wanna make 2 lines, on first line day of month, second line weekday of month.

Screenshot 2023-08-07 at 09 50 14

Expected result should be(Question #3)

Screenshot 2023-08-07 at 10 08 37

@AAChartModel guys I would be glad if you refer to examples

@iOSdev-klimov iOSdev-klimov changed the title customize xAxis (width, labels, customize xAxis (padding, labels) Aug 7, 2023
@iOSdev-klimov
Copy link
Author

Hey, guys, I need your assist a bit. I would like to represent visible number of elements on xAxis 7, when data is loaded. How can I adjust xAxis elements distance in that way, to show 7 days of week. Also I added AAScrollablePlotArea with minWIdth(1800)

  1. Second problem is, on xAxis, I wanna make bold xAxis label for today, other date labels remain as regular.
  2. Third one is related to second, in picture below my xAxis label is data is represented as one line. I wanna make 2 lines, on first line day of month, second line weekday of month.

Screenshot 2023-08-07 at 09 50 14 Expected result should be(Question #3) Screenshot 2023-08-07 at 10 08 37 @AAChartModel guys I would be glad if you refer to examples

@AAChartModel, guys any ideas?

@AAChartModel
Copy link
Owner

Second problem is, on xAxis, I wanna make bold xAxis label for today, other date labels remain as regular.

Refer to:

Online API:

@AAChartModel
Copy link
Owner

Third one is related to second, in picture below my xAxis label is data is represented as one line. I wanna make 2 lines, on first line day of month, second line weekday of month.

Refer to:

@iOSdev-klimov
Copy link
Author

iOSdev-klimov commented Aug 20, 2023

@AAChartModel, hey, thank you for sharing references, appreciate. Could you also help me to handle 1st problem that I indicated above. Quick summary:
Generally on xAxis I have to show number of months(from 1 to 30/31), and when first data is loaded, I need show 7 elements at xAxis, each xAxis element label is divided by 7
lineChart
see picture above, there's only 6 elements represented, I need 7)
and it should start all the time from monday of that week. (For instance, if today is sunday, today's label should be last, and scrolled) How can I adjust xAxis elements distance in that way, to show 7 days of week. Also I added AAScrollablePlotArea with minWIdth(1800) just randomly. Please, any ideas, or links.
2. Second issue realated to first, when I scroll horzontally, line chart, some lines are not drawn, shows as dots. How to fix it also? This is my implementation(See last image).
Screenshot 2023-08-20 at 17 50 11
Screenshot 2023-08-20 at 17 50 55
Screenshot 2023-08-20 at 17 51 08
Please any ideas, or links, I would be thankful @AAChartModel Thanks a lot
Uploading Screenshot 2023-08-20 at 18.50.26.png…

@AAChartModel
Copy link
Owner

Second issue realated to first, when I scroll horzontally, line chart, some lines are not drawn, shows as dots. How to fix it also?

As I mentioned earlier, this is a bug in Highcharts, and the official team has yet to address this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants