Comments (3)
@agiledigits Fixed. you can reference the ng demo code here
from viser.
@linhuiw With the demo app I'm still getting this error:
$ ng build --prod
Date: 2018-01-22T19:29:37.376Z
Hash: 5ffe57570d0b80e57423
Time: 3738ms
chunk {0} styles.9c0ad738f18adc3d19ed.bundle.css (styles) 79 bytes [initial] [rendered]
chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes [initial] [rendered]
chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.22b7623ed7c5ac6f9a35.bundle.js (inline) 1.45 kB [entry] [rendered]
ERROR in : Unexpected value 'Axis in /xxxxx/viser-ng-demo/node_modules/viser-ng/src/components/index.ts' declared by the module 'ViserModule in /xxxxx/viser-ng-demo/node_modules/viser-ng/src/module.ts'. Please add a @Pipe/@Directive/@component annotation.
I'm not sure why the build would go into "node_modules/viser-ng/src". The build works without the "--prod" switch.
My TypeScript version is 2.6.2.
from viser.
It looks that in Aot
mode , works error.
perhaps related to this issue angular/angular#15890
Let me see how to fix it.
from viser.
Related Issues (20)
- 鼠标hover数据点时,怎么设置 cursor: pointer
- 一个chart里,多个view的图形重叠了,怎么办?(adjust只能影响同一个view里的图形) HOT 1
- 怎么销毁画布
- 一个chart里,多个view的图形和legend上,能够实现自动分配不同的颜色吗? HOT 1
- 如何修改word cloud 颜色
- 像这样给图表里的数据点一个选中状态要怎么做?
- viser-react的chart组件的onClick函数有坑!
- 求包括v-bar在内的标签的使用文档,及其多柱多线条的情况下怎么给不同的对象上色?
- 图表超出边界,应该怎么处理? HOT 1
- X轴的字怎么缩略?像Echart那样一定的间隔显示一个? HOT 1
- 如何 显示折线图的折点的值
- 在Safari 15下,饼图直接导致浏览器进入死循环状态 HOT 2
- iphone12 升级IOS 15, 用Safari打开官方柱状图、饼图不渲染 HOT 2
- 饼图显示bug
- i have problem with x coordinate
- 示例网站打开报错,无法显示具体示例。
- 如果要支持rtl风格的网站,图表本身支持么
- 示例站点菜单点击有问题
- 使用vite创建的vue3工程,引入viser后页面报错 HOT 1
- interval是个什么东西
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viser.