customize xAxis (padding, labels)
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).
-
Second problem is, on xAxis, I wanna make bold xAxis label for today, other date labels remain as regular.
-
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.
Expected result should be(Question #3)
@AAChartModel guys I would be glad if you refer to examples
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)
- Second problem is, on xAxis, I wanna make bold xAxis label for today, other date labels remain as regular.
- 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.
Expected result should be(Question #3)
@AAChartModel guys I would be glad if you refer to examples
@AAChartModel, guys any ideas?
Second problem is, on xAxis, I wanna make bold xAxis label for today, other date labels remain as regular.
Refer to:
- https://github.com/AAChartModel/AAChartKit/issues/1330
Online API:
- https://api.highcharts.com/highcharts/xAxis.labels.formatter
- https://api.highcharts.com/highcharts/yAxis.labels.formatter
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:
- https://github.com/AAChartModel/AAChartKit-Swift/issues/331
@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
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).
Please any ideas, or links, I would be thankful @AAChartModel Thanks a lot
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.
- #443
Expected result should be(Question #3)
@AAChartModel guys I would be glad if you refer to examples