Elements — Charts

[vc_row text_shadow=»no-shadow» inner_shadow=»no-shadow» width=»padded» overlay_colour=»#000000″ overlay_opacity=»0″ overlay_grid=»0″ background_image_size=»cover» background_image_repeat=»no-repeat» background_position_vertical=»0″ background_image_attachment=»scroll» height=»normal» background_image_parallax=»off» background_image_parallax_start=»0″ background_image_parallax_end=»-80″ transparency=»opaque» vertical_alignment=»middle»][vc_column width=»1/2″ align=»Default» align_sm=»default» border_top=»off» border_right=»off» border_bottom=»off» border_left=»off» scroll_animation=»none» scroll_animation_delay=»0″][heading header_type=»h2″ header_size=»bigger» header_weight=»hairline» header_align=»default» margin_top=»20″ margin_bottom=»0″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″ text_color=»text-normal» header_fade_out=»off»]Line charts[/heading][vc_column_text margin_top=»20″ margin_bottom=»20″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″ text_color=»text-normal»]

Line graphs are probably the most widely used graph for showing trends. Chart.js has a ton of customisation features for line graphs, along with support for multiple datasets to be plotted on one chart.

[/vc_column_text][/vc_column][vc_column width=»1/2″ align=»center»][chart type=»line» datasets=»40,43,61,50, 45, 30 next 33,15,40,22, 18, 10″ colors=»#83C8EC, #757575″ labels=»June, July, August, Sep, Oct, Nov» scalefontsize=»12″ scalefontcolor=»#666666″ scaleoverride=»true» scalesteps=»6″ scalestepwidth=»10″ scalestartvalue=»0″ animation=»true» fillopacity=»0.7″ pointstrokecolor=»#ffffff» margin_top=»50″ margin_bottom=»50″ scroll_animation=»none» scroll_animation_delay=»0″ width=»500px» canvaswidth=»500px» canvasheight=»400px» relativewidth=»1.25″ height=»400px» margin=»20px»][/vc_column][/vc_row][vc_row][vc_column width=»1/1″][ruler_divider margin_top=»20″ margin_bottom=»20″ scroll_animation=»none» scroll_animation_delay=»0″][/vc_column][/vc_row][vc_row text_shadow=»no-shadow» inner_shadow=»no-shadow» width=»padded» overlay_colour=»#000000″ overlay_opacity=»0″ overlay_grid=»0″ background_image_size=»cover» background_image_repeat=»no-repeat» background_position_vertical=»0″ background_image_attachment=»scroll» height=»normal» background_image_parallax=»off» background_image_parallax_start=»0″ background_image_parallax_end=»-80″ transparency=»opaque» vertical_alignment=»middle»][vc_column width=»1/2″ align=»center»][chart type=»pie» data=»30,10,55,25,15,8″ colors=»b6b8bb,#93979b,#83c8ec,#e9e9e9,#757575,#3c3c3c» labels=»b6b8bb,#93979b,#83c8ec,#e9e9e9,#757575,#3c3c3c» width=»70%» animation=»false» scalefontsize=»12″ scalefontcolor=»#666666″ scaleoverride=»false» scalesteps=»null» scalestepwidth=»null» scalestartvalue=»null» fillopacity=»0.7″ pointstrokecolor=»#ffffff» margin_top=»70″ margin_bottom=»20″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0″][/vc_column][vc_column width=»1/2″ align=»left»][heading header_type=»h2″ header_size=»bigger» header_weight=»hairline» header_align=»left» margin_top=»20″ margin_bottom=»0″ scroll_animation=»fadeInRight» scroll_animation_delay=»0.2″ text_color=»text-normal» header_fade_out=»off»]Pie charts[/heading][vc_column_text margin_top=»20″ margin_bottom=»20″ scroll_animation=»fadeInRight» scroll_animation_delay=»0″ text_color=»text-normal»]

Pie charts are great at comparing proportions within a single data set. Chart.js shows animated pie charts with customisable colours, strokes, animation easing and effects.

[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width=»1/1″][ruler_divider margin_top=»20″ margin_bottom=»20″ scroll_animation=»none» scroll_animation_delay=»0″][/vc_column][/vc_row][vc_row text_shadow=»no-shadow» inner_shadow=»no-shadow» width=»padded» overlay_colour=»#000000″ overlay_opacity=»0″ overlay_grid=»0″ background_image_size=»cover» background_image_repeat=»no-repeat» background_position_vertical=»0″ background_image_attachment=»scroll» height=»normal» background_image_parallax=»off» background_image_parallax_start=»0″ background_image_parallax_end=»-80″ transparency=»opaque» vertical_alignment=»middle»][vc_column width=»1/2″ align=»Default» align_sm=»default» border_top=»off» border_right=»off» border_bottom=»off» border_left=»off» scroll_animation=»none» scroll_animation_delay=»0″][heading header_type=»h2″ header_size=»bigger» header_weight=»hairline» header_align=»default» margin_top=»20″ margin_bottom=»0″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″ text_color=»text-normal» header_fade_out=»off»]Doughnut charts[/heading][vc_column_text margin_top=»20″ margin_bottom=»20″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″]

Similar to pie charts, doughnut charts are great for showing proportional data. Chart.js offers the same customisation options as for pie charts, but with a custom sized inner cutout to turn your pies into doughnuts.

[/vc_column_text][/vc_column][vc_column width=»1/2″ align=»center»][chart type=»doughnut» data=»30,10,55,25,15,8″ colors=»b6b8bb,#93979b,#83c8ec,#e9e9e9,#757575,#3c3c3c» labels=»b6b8bb,#93979b,#83c8ec,#e9e9e9,#757575,#3c3c3c» width=»70%» animation=»false» scalefontsize=»12″ scalefontcolor=»#666666″ scaleoverride=»false» scalesteps=»null» scalestepwidth=»null» scalestartvalue=»null» fillopacity=»0.7″ pointstrokecolor=»#ffffff» margin_top=»70″ margin_bottom=»20″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0″][/vc_column][/vc_row][vc_row][vc_column width=»1/1″][ruler_divider margin_top=»20″ margin_bottom=»20″ scroll_animation=»none» scroll_animation_delay=»0″][/vc_column][/vc_row][vc_row text_shadow=»no-shadow» inner_shadow=»no-shadow» width=»padded» overlay_colour=»#000000″ overlay_opacity=»0″ overlay_grid=»0″ background_image_size=»cover» background_image_repeat=»no-repeat» background_position_vertical=»0″ background_image_attachment=»scroll» height=»normal» background_image_parallax=»off» background_image_parallax_start=»0″ background_image_parallax_end=»-80″ transparency=»opaque» vertical_alignment=»middle»][vc_column width=»1/2″ align=»center»][chart type=»radar» datasets=»20,22,40,25,55 next 15,20,30,40,35″ colors=»#93979b,#82c9ed» labels=»design, drinking, coding, playing, bloging» width=»70%» scalefontsize=»12″ scalefontcolor=»#666666″ scaleoverride=»false» scalesteps=»null» scalestepwidth=»null» scalestartvalue=»null» animation=»true» fillopacity=»0.7″ pointstrokecolor=»#FFFFFF» margin_top=»70″ margin_bottom=»20″ scroll_animation=»fadeInRight» scroll_animation_delay=»0″][/vc_column][vc_column width=»1/2″ align=»left»][heading header_type=»h2″ header_size=»bigger» header_weight=»hairline» header_align=»left» margin_top=»20″ margin_bottom=»0″ scroll_animation=»fadeInRight» scroll_animation_delay=»0.2″ text_color=»text-normal» header_fade_out=»off»]Radar charts[/heading][vc_column_text margin_top=»20″ margin_bottom=»20″ scroll_animation=»fadeInRight» scroll_animation_delay=»0″]

Radar charts are good for comparing a selection of different pieces of data. Chart.js supports multiple data sets plotted on the same radar chart. It also supports all of the customisation and animation options you’d expect.

[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width=»1/1″][ruler_divider margin_top=»20″ margin_bottom=»20″ scroll_animation=»none» scroll_animation_delay=»0″][/vc_column][/vc_row][vc_row text_shadow=»no-shadow» inner_shadow=»no-shadow» width=»padded» overlay_colour=»#000000″ overlay_opacity=»0″ overlay_grid=»0″ background_image_size=»cover» background_image_repeat=»no-repeat» background_position_vertical=»0″ background_image_attachment=»scroll» height=»normal» background_image_parallax=»off» background_image_parallax_start=»0″ background_image_parallax_end=»-80″ transparency=»opaque» vertical_alignment=»middle»][vc_column width=»1/2″ align=»Default» align_sm=»default» border_top=»off» border_right=»off» border_bottom=»off» border_left=»off» scroll_animation=»none» scroll_animation_delay=»0″][heading header_type=»h2″ header_size=»bigger» header_weight=»hairline» header_align=»default» margin_top=»20″ margin_bottom=»0″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″ text_color=»text-normal» header_fade_out=»off»]Polar area charts[/heading][vc_column_text margin_top=»20″ margin_bottom=»20″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″]

Polar area charts are similar to pie charts, but the variable isn’t the circumference of the segment, but the radius of it. Chart.js delivers animated polar area charts with custom coloured segments, along with customisable scales and animation.

[/vc_column_text][/vc_column][vc_column width=»1/2″ align=»center»][chart type=»polararea» data=»30,10,55,25,15,8″ colors=»b6b8bb,#93979b,#83c8ec,#e9e9e9,#757575,#3c3c3c» labels=»b6b8bb,#93979b,#83c8ec,#e9e9e9,#757575,#3c3c3c» width=»70%» animation=»false» scalefontsize=»12″ scalefontcolor=»#666666″ scaleoverride=»false» scalesteps=»null» scalestepwidth=»null» scalestartvalue=»null» fillopacity=»0.7″ pointstrokecolor=»#ffffff» margin_top=»70″ margin_bottom=»20″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0″][/vc_column][/vc_row][vc_row][vc_column width=»1/1″][ruler_divider margin_top=»20″ margin_bottom=»20″ scroll_animation=»none» scroll_animation_delay=»0″][/vc_column][/vc_row][vc_row text_shadow=»no-shadow» inner_shadow=»no-shadow» width=»padded» overlay_colour=»#000000″ overlay_opacity=»0″ overlay_grid=»0″ background_image_size=»cover» background_image_repeat=»no-repeat» background_position_vertical=»0″ background_image_attachment=»scroll» height=»normal» background_image_parallax=»off» background_image_parallax_start=»0″ background_image_parallax_end=»-80″ transparency=»opaque» vertical_alignment=»middle»][vc_column width=»1/2″ align=»right»][chart type=»bar» datasets=»40,43,61,50, 45, 30 next 33,15,40,22, 18, 10″ colors=»#83C8EC, #757575″ labels=»June, July, August, Sep, Oct, Nov» scalefontsize=»12″ scalefontcolor=»#666666″ scaleoverride=»true» scalesteps=»6″ scalestepwidth=»10″ scalestartvalue=»0″ animation=»true» fillopacity=»0.7″ pointstrokecolor=»#ffffff» margin_top=»50″ margin_bottom=»50″ scroll_animation=»none» scroll_animation_delay=»0″ width=»500px» canvaswidth=»500px» canvasheight=»400px» relativewidth=»1.25″ height=»400px»][/vc_column][vc_column width=»1/2″ align=»left» align_sm=»center» scroll_animation=»none» scroll_animation_delay=»0″][heading header_type=»h2″ header_size=»bigger» header_weight=»hairline» header_align=»default» margin_top=»20″ margin_bottom=»0″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″ text_color=»text-normal» header_fade_out=»off»]Bar charts[/heading][vc_column_text margin_top=»20″ margin_bottom=»20″ scroll_animation=»fadeInLeft» scroll_animation_delay=»0.2″]

Bar graphs are also great at showing trend data. Chart.js supports bar charts with a load of custom styles and the ability to show multiple bars for each x value.

[/vc_column_text][/vc_column][/vc_row]

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *