Skip to Content
0

Trend Chart Using JS View

Jan 02 at 10:49 AM

35

avatar image
Former Member

Hi,

I want to create a trend chart using js view not xml and the chart will be looking like something below, can anyone help?

Thanks & Regards,

Payel

chart.png (81.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ivan Mirisola
Jan 02 at 11:02 PM
0

Hi Payel,

You should use component VizFrame to draw the line chart. You can use the sample for further reference.

Check this github example for JS View and how to set the data on the graph.

However, I would encourage you to change your view type to XML instead. It is easier to understand how the html components are going to be placed on the screen and html properties are more readable than JSView. The setting the data set is what really matters and that's done via controller in JavaScript anyway.

Regards,
Ivan

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 04 at 08:58 AM
0

Hi Ivan,

Thank you so much, I will try this way.

Regards,

Payel

Share
10 |10000 characters needed characters left characters exceeded