Title: Legend.calculateDimensions IndexOutOfBoundsException Error · Issue #802 · AppDevNext/AndroidChart · GitHub
Open Graph Title: Legend.calculateDimensions IndexOutOfBoundsException Error · Issue #802 · AppDevNext/AndroidChart
X Title: Legend.calculateDimensions IndexOutOfBoundsException Error · Issue #802 · AppDevNext/AndroidChart
Description: Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.get(ArrayList.java:437) at info.appdev.charting.components.Legend.calculateDimensions(Legend.kt:451) at info.appdev.charting.renderer.LegendRe...
Open Graph Description: Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.get(ArrayList.java:437) at info.appdev.charting.components.Legend.calculateDimensions(Legend.kt:451) a...
X Description: Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.get(ArrayList.java:437) at info.appdev.charting.components.Legend.calculateDimensions(Legend.kt:451) a...
Opengraph URL: https://github.com/AppDevNext/AndroidChart/issues/802
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Legend.calculateDimensions IndexOutOfBoundsException Error","articleBody":"```\nFatal Exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1\n at java.util.ArrayList.get(ArrayList.java:437)\n at info.appdev.charting.components.Legend.calculateDimensions(Legend.kt:451)\n at info.appdev.charting.renderer.LegendRenderer.computeLegend(LegendRenderer.kt:196)\n at info.appdev.charting.charts.BarLineChartBase.notifyDataSetChanged(BarLineChartBase.kt:391)\n at info.appdev.charting.charts.Chart.onSizeChanged(Chart.kt:1173)\n at info.appdev.charting.charts.BarLineChartBase.onSizeChanged(BarLineChartBase.kt:1292)\n at android.view.View.sizeChange(View.java:23391)\n at android.view.View.setFrame(View.java:23343)\n at android.view.View.layout(View.java:23200)\n at android.view.ViewGroup.layout(ViewGroup.java:6412)\n at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1961)\n```\n \n","author":{"url":"https://github.com/ytheekshana","@type":"Person","name":"ytheekshana"},"datePublished":"2026-07-08T14:57:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/802/AndroidChart/issues/802"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c3b0c3a9-dc72-7b49-1b7a-a9426c096dbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87BC:2D82D:68E04F:925B0F:6A5856BB |
| html-safe-nonce | 094076db0d27a1534fcae18d91826495635056d8b28e30e6d55e0f35ab7159bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0JDOjJEODJEOjY4RTA0Rjo5MjVCMEY6NkE1ODU2QkIiLCJ2aXNpdG9yX2lkIjoiNzYxMzY5MDM0ODQ2OTUwNzc3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3a3c65782eda00d6c6a07e643d36cd751e4d83128d63a89928727e3b675f4c18 |
| hovercard-subject-tag | issue:4838606341 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AppDevNext/AndroidChart/802/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a6e92f19aded2a644d6683a078765e26fb1532ae55a63dfac5f5c8db9f72149b/AppDevNext/AndroidChart/issues/802 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a6e92f19aded2a644d6683a078765e26fb1532ae55a63dfac5f5c8db9f72149b/AppDevNext/AndroidChart/issues/802 |
| og:image:alt | Fatal Exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.get(ArrayList.java:437) at info.appdev.charting.components.Legend.calculateDimensions(Legend.kt:451) a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ytheekshana |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/AppDevNext/AndroidChart git https://github.com/AppDevNext/AndroidChart.git |
| octolytics-dimension-user_id | 64915543 |
| octolytics-dimension-user_login | AppDevNext |
| octolytics-dimension-repository_id | 130959090 |
| octolytics-dimension-repository_nwo | AppDevNext/AndroidChart |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 130959090 |
| octolytics-dimension-repository_network_root_nwo | AppDevNext/AndroidChart |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width