swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.29k stars 1.15k forks source link

Anybody interested in writing an article about ngx-charts? #916

Open stephanrauh opened 6 years ago

stephanrauh commented 6 years ago

Currently, a co-worker an me are writing and publishing a series of articles about Angular and D3. You know, I've got an opportunity to publish it on one or two major German blogs: Jaxenter.com (English) and Entwickler.de (German - I'd translate that for you). There are two other publication channels: my own blog (https://www.beyondjava.net - English) and my company's blog (https://thecattlecrew.net/ - German or English).

So I contacted Austin. He, in turn, recommended submitting an issue on this repository. Here it is :).

Dear ngx-charts team, is anyone of you interested in writing an article about your project?

BTW, since this ticket is publicly visible, the question includes every reader. The bottom line is that the article is interesting to developers, it's not a commercial, and it's fun to read.

Anybody interested?

changhuixu commented 6 years ago

Just switched to ng2-charts, because I am not able to make ngx-charts responsive to screen sizes... Maybe it's just me.. But ng2-charts is easy and fit my needs.

I want to add some comments if you are going to write up articles. (1) first need to introduce data structure that ngx-charts consumes. It would be better if there are typescript classes or definitions. (2) utilize StackBlitz for examples as much as you can. The current documentation has many places are out of date.

codeepic commented 5 years ago

Same here - I find the general documentation lacking. I am mostly working looking at the source code to figure what type of inputs charts take. And there is no documentation for making the charts responsive.

The orange rectangles are two divs in flexbox parent: image

The charts below are also in two divs in flebox parent, but they are not responsive.

As I resize the screen to smaller widths, the pie charts are actually growing in size. I guess they are responsive after all, just not the way they should be.

stephanrauh commented 5 years ago

Writing a couple of articles complementing the documentation sounds like a good idea. While we're at it, I also might offer to contribute to the documentation of ngx-charts.

stephanrauh commented 5 years ago

As for the original question: we've published our series of articles. Unfortunately, we went out of time, so I never managed to write the article about ngx-charts. We've published the first part of the series in English.

The complete 6-part series has been published in German. If you don't speak German: Google Translate does a surprisingly good job with these articles (apart from scrambling the source code examples).

stephanrauh commented 5 years ago

@codeepic I recommend opening a new issue to address the responsiveness issue. Your error description sounds like it's only partially a problem of the documentation. Maybe the charts aren't responsive yet.