Angular 中的图表 2+ [英] Charts in Angular 2+

查看:35
本文介绍了Angular 中的图表 2+的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个类似于我所附图片的图表,或者可能是条形图.我正在使用 Angular 4,但我不知道 Angular 中的图形.是否提供参考链接或一些示例代码?

[![图表][1]][1]

解决方案

我们可以通过使用 Syncfusion angular-charts 来满足您的要求.有关Syncfusion angular-charts 的更多详细信息,请查找随附的演示和 FT 链接.

示例:

FT:https://www.syncfusion.com/angular-ui-组件/角度图表

演示链接:https://ej2.syncfusion.com/角度/演示/#/材料/图表/样条

UG:https://ej2.syncfusion.com/angular/documentation/chart/入门

I want to create a graph similar to the picture I have attached or may be a bar graph. I am using Angular 4 and I have no idea about graphs in Angular. Is a reference link or some sample code available?

[![Graph][1]][1]

解决方案

We can achieve your requirement by using Syncfusion angular-charts. For more details about Syncfusion angular-charts please find attached demo and FT links.

Sample: https://stackblitz.com/edit/angular-zo5arc?file=src/app/app.module.ts

Screenshot:

FT: https://www.syncfusion.com/angular-ui-components/angular-charts

Demo link: https://ej2.syncfusion.com/angular/demos/#/material/chart/spline

UG: https://ej2.syncfusion.com/angular/documentation/chart/getting-started

这篇关于Angular 中的图表 2+的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆