Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
natanael berlian
how to make gauge or speedometer chart portlet
18 de Abril de 2013 02:38
Resposta

natanael berlian

Ranking: New Member

Mensagens: 14

Data de entrada: 25 de Março de 2013

Mensagens recentes

hi all,
I've project to make speedometer chart. Is that anyone has been make it?

I've try to make with jfreechart to make bar chart or just pie chart. I don't know how to make sppedometer chart with jfreechart.

thanks
Victor Zorin
RE: how to make gauge or speedometer chart portlet
18 de Abril de 2013 02:47
Resposta

Victor Zorin

Ranking: Liferay Legend

Mensagens: 1176

Data de entrada: 14 de Abril de 2008

Mensagens recentes

You can have a look at this demo of Meter Chart Portlet.
Unfortunately we do not offer these portlets for free downloading yet, did not have enough time to put all licensing in place and they are only supplied with custom projects. All these BI Charts are using jfreechart library...
natanael berlian
RE: how to make gauge or speedometer chart portlet
18 de Abril de 2013 03:16
Resposta

natanael berlian

Ranking: New Member

Mensagens: 14

Data de entrada: 25 de Março de 2013

Mensagens recentes

Victor Zorin:
You can have a look at this demo of Meter Chart Portlet.
Unfortunately we do not offer these portlets for free downloading yet, did not have enough time to put all licensing in place and they are only supplied with custom projects. All these BI Charts are using jfreechart library...



thanks but I want to make it project. Does anyone want to help me?
James Falkner
RE: how to make gauge or speedometer chart portlet
18 de Abril de 2013 07:01
Resposta

James Falkner

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1368

Data de entrada: 17 de Setembro de 2010

Mensagens recentes

natanael berlian:
Victor Zorin:
You can have a look at this demo of Meter Chart Portlet.
Unfortunately we do not offer these portlets for free downloading yet, did not have enough time to put all licensing in place and they are only supplied with custom projects. All these BI Charts are using jfreechart library...



thanks but I want to make it project. Does anyone want to help me?



How about Google Charts? There's a pretty simple Gauge example which uses javascript. What did you want to measure with the Gauge?
David H Nebinger
RE: how to make gauge or speedometer chart portlet
18 de Abril de 2013 07:39
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 9428

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

Highcharts has some guages...
Mohamed Faisal
RE: how to make gauge or speedometer chart portlet
14 de Abril de 2015 00:07
Resposta

Mohamed Faisal

Ranking: Junior Member

Mensagens: 68

Data de entrada: 11 de Agosto de 2009

Mensagens recentes

David H Nebinger:
Highcharts has some guages...


I have a json response like
{"error":"false","data":{"title":"speedometer","units":"points","values":[{"label":"Label1","value":"20"},{"label":"Label2","value":"80"},{"label":"Label3","value":"60"}]}}

I need to implement speedometer using highchart. Please let me know how to implement.

Regards,
Faisal
Jan Geißler
RE: how to make gauge or speedometer chart portlet
14 de Abril de 2015 00:12
Resposta

Jan Geißler

Community Moderator

Ranking: Liferay Master

Mensagens: 720

Data de entrada: 5 de Julho de 2011

Mensagens recentes

You implement it in the following way:
Look at the data you have got.
Look at the manual/API of highchart.
Look at the demo.
Play around with the demo (there is a jfiddle button) to get an idea how it works.
http://www.highcharts.com/demo/gauge-speedometer

I will not give you any code, as there are tons of examples, and there will be no learning if you just copy paste code.
Mohamed Faisal
RE: how to make gauge or speedometer chart portlet
14 de Abril de 2015 01:47
Resposta

Mohamed Faisal

Ranking: Junior Member

Mensagens: 68

Data de entrada: 11 de Agosto de 2009

Mensagens recentes

Hi Jan Geißler,

Thank you for reply.
I have done pie and bar chart with dynamic data. But I am not able to do speedometer with json response.
could you please elaborate how to achieve this.

Regards,
Faisal
Jan Geißler
RE: how to make gauge or speedometer chart portlet
14 de Abril de 2015 04:41
Resposta

Jan Geißler

Community Moderator

Ranking: Liferay Master

Mensagens: 720

Data de entrada: 5 de Julho de 2011

Mensagens recentes

Looks like your JSON response does not have the right format for the speedometer, so you would have to transform it to a format, the Speedometer can actually use.
Mohamed Faisal
RE: how to make gauge or speedometer chart portlet
14 de Abril de 2015 05:06
Resposta

Mohamed Faisal

Ranking: Junior Member

Mensagens: 68

Data de entrada: 11 de Agosto de 2009

Mensagens recentes

Thanks, will check this.