René's URL Explorer Experiment


Title: Charts? · NativeScript · Discussion #10741 · GitHub

Open Graph Title: Charts? · NativeScript · Discussion #10741

X Title: Charts? · NativeScript · Discussion #10741

Description: Charts?

Open Graph Description: Hello! I want to build an app over the summer, and i am doing some research about what the right technologies for it would be, and i stumbled across nativescript, it seems very interesting I am cur...

X Description: Hello! I want to build an app over the summer, and i am doing some research about what the right technologies for it would be, and i stumbled across nativescript, it seems very interesting I am cur...

Opengraph URL: https://github.com/orgs/NativeScript/discussions/10741

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Charts?","text":"

Hello!

\n

I want to build an app over the summer, and i am doing some research about what the right technologies for it would be, and i stumbled across nativescript, it seems very interesting

\n

I am curios what the go-to library is when adding charts in a nativescript application. I found \"nativescript-ui-chart\", but it seems as if its no longer maintained.

\n

What do you guys use?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

My team at the moment uses @nativescript-community/ui-chart.
\nYou can register any from it for use in any flavor (refer to each flavor registration methods: https://docs.nativescript.org/guide/create-custom-native-elements#registering-new-elements), eg:

\n
import { LineChart } from '@nativescript-community/ui-chart/charts';\nimport { PieChart } from '@nativescript-community/ui-chart/charts';\n\nregisterElement('LineChart', () => LineChart);\nregisterElement('PieChart', () => PieChart);
\n

then use it however needed:

\n
<PieChart (loaded)=\"loadedChart($event)\"></PieChart>
\n
import { PieChart } from '@nativescript-community/ui-chart';\nimport { PieData } from '@nativescript-community/ui-chart/data/PieData';\nimport { PieDataSet } from '@nativescript-community/ui-chart/data/PieDataSet';\nimport { PieEntry } from '@nativescript-community/ui-chart/data/PieEntry';\nimport {\n  LegendHorizontalAlignment,\n  LegendOrientation,\n  LegendVerticalAlignment\n} from '@nativescript-community/ui-chart/components/Legend';\n\nloadedChart(args) {\n    this.chart = args.object as PieChart;\n    this.chart.usePercentValues = false;\n    this.chart.extraOffsets = [10, 10, 10, 10];\n    this.chart.drawHoleEnabled = true;\n    this.chart.holeColor = 'transparent';\n    this.chart.transparentCircleColor = 'white';\n    this.chart.transparentCircleAlpha = 0;\n    this.chart.holeRadius = 45;\n    this.chart.transparentCircleRadiusPercent = 0;\n    this.chart.rotationAngle = 0;\n    // enable rotation of the chart by touch\n    this.chart.rotationEnabled = true;\n    this.chart.highlightPerTapEnabled = false;\n\n    const l = this.chart.legend;\n    l.verticalAlignment = LegendVerticalAlignment.CENTER;\n    l.horizontalAlignment = LegendHorizontalAlignment.RIGHT;\n    l.orientation = LegendOrientation.VERTICAL;\n    l.drawInside = false;\n    l.xEntrySpace = 0;\n    l.yEntrySpace = 0;\n    l.yOffset = 0;\n\n    // entry label styling\n    this.chart.entryLabelColor = 'black';\n    this.chart.entryLabelTypeface = Font.default.withFontFamily('OpenSans');\n    this.chart.entryLabelTextSize = 0.1;\n\n    this.updateData();\n    setTimeout(() => {\n      this.chart.animateX(600);\n    });\n  }\n\nupdateData() {\n  const dataSet = new PieDataSet([\n     {\n        y: 10,\n        label: 'hello'\n     },\n     // any entries you want\n   ], 'Election Results');\n\n    dataSet.drawValuesEnabled = true;\n    dataSet.sliceSpace = 5;\n    dataSet.selectionShift = 10;\n\n    const data = new PieData([dataSet]);\n    data.valueTextSize = 11;\n    data.valueTextColor = 'black';\n    data.valueTypeface = Font.default.withFontFamily('OpenSans-Light');\n    this.chart.data = data;\n    this.chart.invalidate();\n}
","upvoteCount":1,"url":"https://github.com/orgs/NativeScript/discussions/10741#discussioncomment-13222872"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/:org/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:facfdd2c-f192-25c8-4422-8519b27c3e63
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idC298:2ECE53:71EBE7:9772D2:69648783
html-safe-nonce3d6c07f939fdcd6997681af5f3347671122735bfbe5b1daaa626dd8e52cc36c8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjk4OjJFQ0U1Mzo3MUVCRTc6OTc3MkQyOjY5NjQ4NzgzIiwidmlzaXRvcl9pZCI6IjgzMzUzNTEwNjc0NTY2NTQxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac52c334750c23b764da72b7b3eaaa7f048dc495a85a06325c305d6342b1174264
hovercard-subject-tagdiscussion:8355187
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/NativeScript/10741/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/07b4f55f40ce15e7598066fd1d7a05be1d1c59bdd66a931e593df1fe7c3e87db/orgs/NativeScript/discussions/10741
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/07b4f55f40ce15e7598066fd1d7a05be1d1c59bdd66a931e593df1fe7c3e87db/orgs/NativeScript/discussions/10741
og:image:altHello! I want to build an app over the summer, and i am doing some research about what the right technologies for it would be, and i stumbled across nativescript, it seems very interesting I am cur...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonebaa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5
turbo-cache-controlno-preview
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release842eff1d11f899d02b6b3b98fa3ea4860e64b34e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/discussions/10741#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FNativeScript%2Fdiscussions%2F10741
NativeScripthttps://github.com/NativeScript
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FNativeScript%2Fdiscussions%2F10741
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/discussions/10741
Reloadhttps://github.com/NativeScript/NativeScript/discussions/10741
Reloadhttps://github.com/NativeScript/NativeScript/discussions/10741
NativeScript https://github.com/NativeScript
Overview https://github.com/NativeScript
Repositories https://github.com/orgs/NativeScript/repositories
Discussions https://github.com/orgs/NativeScript/discussions
Projects https://github.com/orgs/NativeScript/projects
Packages https://github.com/orgs/NativeScript/packages
People https://github.com/orgs/NativeScript/people
Overviewhttps://github.com/NativeScript
Repositorieshttps://github.com/orgs/NativeScript/repositories
Discussionshttps://github.com/orgs/NativeScript/discussions
Projectshttps://github.com/orgs/NativeScript/projects
Packageshttps://github.com/orgs/NativeScript/packages
Peoplehttps://github.com/orgs/NativeScript/people
Answered https://github.com/NativeScript/NativeScript/discussions/10741#discussioncomment-13222872
NathanWalkerhttps://github.com/NathanWalker
balazshevesi https://github.com/balazshevesi
Q&Ahttps://github.com/orgs/NativeScript/discussions/categories/q-a
Charts? https://github.com/NativeScript/NativeScript/discussions/10741#top
balazshevesi https://github.com/balazshevesi
Answered https://github.com/NativeScript/NativeScript/discussions/10741#discussioncomment-13222872
NathanWalkerhttps://github.com/NathanWalker
Return to tophttps://github.com/NativeScript/NativeScript/discussions/10741#top
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10741
https://github.com/NativeScript/NativeScript/discussions/10741
balazshevesi https://github.com/balazshevesi
May 21, 2025 https://github.com/NativeScript/NativeScript/discussions/10741#discussion-8355187
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10741
NathanWalker https://github.com/NathanWalker
May 21, 2025 https://github.com/orgs/NativeScript/discussions/10741#discussioncomment-13222872
https://docs.nativescript.org/guide/create-custom-native-elements#registering-new-elementshttps://docs.nativescript.org/guide/create-custom-native-elements#registering-new-elements
View full answer https://github.com/NativeScript/NativeScript/discussions/10741#discussioncomment-13222872
Oldest https://github.com/orgs/NativeScript/discussions/10741?sort=old
Newest https://github.com/orgs/NativeScript/discussions/10741?sort=new
Top https://github.com/orgs/NativeScript/discussions/10741?sort=top
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10741
https://github.com/NativeScript/NativeScript/discussions/10741
NathanWalker https://github.com/NathanWalker
May 21, 2025 https://github.com/NativeScript/NativeScript/discussions/10741#discussioncomment-13222872
https://docs.nativescript.org/guide/create-custom-native-elements#registering-new-elementshttps://docs.nativescript.org/guide/create-custom-native-elements#registering-new-elements
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10741
https://github.com/balazshevesi
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10741
https://github.com/NativeScript/NativeScript/discussions/10741
balazshevesihttps://github.com/balazshevesi
May 21, 2025 https://github.com/NativeScript/NativeScript/discussions/10741#discussioncomment-13224560
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10741
balazshevesihttps://github.com/balazshevesi
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FNativeScript%2Fdiscussions%2F10741
🙏 Q&A https://github.com/orgs/NativeScript/discussions/categories/q-a
https://github.com/balazshevesi
https://github.com/NathanWalker
https://github.com/NativeScript/NativeScript/discussions/10741
https://github.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.