PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
kingcomposer
/
shortcodes
/
live_editor
<# if( data === undefined ) data = {}; var atts = ( data.atts !== undefined ) ? data.atts : {}, custom_class = 'piechart_'+parseInt( Math.random()*1000000 ), custom_size = 120, barcolor = '#39c14f', trackcolor = '#e4e4e4', percent = 85, rounded_corners_bar = '', icon_option = '', title = '', description = '', wrap_class = '', tmp_class = '', element_attributes = [], size = 120, auto_width = 'no', linewidth = 10, css_classes = [ 'kc_shortcode', 'kc_piechart', custom_class ], icon = ''; tmp_class = kc.front.el_class( atts ); tmp_class.push( wrap_class ); wrap_class = tmp_class.join( ' ' ); if( atts['title'] !== undefined && atts['title'] !== '' ) title = '<h3>' + atts['title'] + '</h3>'; if( atts['icon'] !== undefined && atts['icon'] !== '' ) icon = atts['icon']; if( atts['icon_option'] !== undefined && atts['icon_option'] !== '' ) icon_option = atts['icon_option']; if( atts['description'] !== undefined && atts['description'] !== '' ) description = '<p>' + kc.tools.base64.decode( atts['description'] ) + '</p>'; if( atts['percent'] !== undefined && atts['percent'] !== '' ) percent = atts['percent']; if( atts['linewidth'] !== undefined && atts['linewidth'] !== '' ) linewidth = atts['linewidth']; if( atts['rounded_corners_bar'] !== undefined && atts['rounded_corners_bar'] !== '' ) rounded_corners_bar = atts['rounded_corners_bar']; if( atts['custom_size'] !== undefined && atts['custom_size'] !== '' ) custom_size = atts['custom_size']; if( atts['barcolor'] !== undefined && atts['barcolor'] !== '' ) barcolor = atts['barcolor']; if( atts['trackcolor'] !== undefined && atts['trackcolor'] !== '' ) trackcolor = atts['trackcolor']; if( atts['wrap_class'] !== undefined && atts['wrap_class'] !== '' ) wrap_class = atts['wrap_class']; if( atts['size'] !== undefined && atts['size'] !== '' && atts['size'] !== 'custom' ) size = atts['size']; else size = custom_size; if( size > 1000 ) size = 1000; if( atts['auto_width'] !== undefined && atts['auto_width'] == 'yes' ) { auto_width = 'yes'; css_classes.push( 'auto_width' ); } element_attributes.push( 'data-size="' + size + '"' ); element_attributes.push( 'data-percent="' + percent + '"' ); element_attributes.push( 'data-linecap="' + rounded_corners_bar + '"' ); element_attributes.push( 'data-barcolor="' + barcolor + '"' ); element_attributes.push( 'data-trackcolor="' + trackcolor + '"' ); element_attributes.push( 'data-autowidth="' + auto_width + '"' ); element_attributes.push( 'data-linewidth="' + linewidth + '"' ); element_attributes.push( 'class="' + css_classes.join(' ') + '"' ); var lineHeight = parseInt(size) + (parseInt( linewidth )*2 ); #> <div class="kc-pie-chart-wrapper {{wrap_class}}"> <div class="kc-pie-chart-holder"> <span {{{element_attributes.join(' ')}}}> <span class="pie_chart_percent"> <# if( icon_option == 'yes' ){ #> <i class="{{{icon}}} pie_chart_icon"></i> <# } #> <span class="percent"></span> </span> </span> </div> </div> <# data.callback = function( wrp, $ ){ kc_front.piechar.update( wrp ); } #>
[+]
..
[-] kc_pricing.php
[edit]
[-] kc_progress_bars.php
[edit]
[-] kc_carousel_images.php
[edit]
[-] kc_flip_box.php
[edit]
[-] kc_call_to_action.php
[edit]
[-] kc_row.php
[edit]
[-] .live_editor.php
[edit]
[-] kc_accordion.php
[edit]
[-] kc_video_play.php
[edit]
[-] kc_tab.php
[edit]
[-] kc_icon.php
[edit]
[-] kc_counter_box.php
[edit]
[-] kc_team.php
[edit]
[-] kc_image_fadein.php
[edit]
[-] kc_google_maps.php
[edit]
[-] kc_title.php
[edit]
[-] kc_feature_box.php
[edit]
[-] kc_single_image.php
[edit]
[-] kc_dropcaps.php
[edit]
[-] kc_pie_chart.php
[edit]
[-] kc_column_inner.php
[edit]
[-] kc_row_inner.php
[edit]
[-] kc_column_text.php
[edit]
[-] kc_image_hover_effects.php
[edit]
[-] kc_divider.php
[edit]
[-] kc_tooltip.php
[edit]
[-] kc_box_alert.php
[edit]
[-] kc_column.php
[edit]
[-] kc_spacing.php
[edit]
[-] kc_image_gallery.php
[edit]
[-] kc_tabs.php
[edit]
[-] kc_testimonial.php
[edit]
[-] kc_coundown_timer.php
[edit]
[-] kc_box.php
[edit]
[-] kc_section.php
[edit]
[-] kc_button.php
[edit]
[-] kc_creative_button.php
[edit]
[-] kc_multi_icons.php
[edit]
[-] kc_accordion_tab.php
[edit]