RGraph=window.RGraph||{isrgraph:!0,isRGraph:!0,rgraph:!0},RGraph.Bar=function(t){var e=t.id,a=document.getElementById(e),p=t.data;if(this.id=e,this.canvas=a,this.context=this.canvas.getContext("2d"),(this.canvas.__object__=this).type="bar",this.max=0,this.stackedOrGrouped=!1,this.isRGraph=!0,this.isrgraph=!0,this.rgraph=!0,this.uid=RGraph.createUID(),this.canvas.uid=this.canvas.uid||RGraph.createUID(),this.colorsParsed=!1,this.original_colors=[],this.cachedBackgroundCanvas=null,this.firstDraw=!0,this.properties={backgroundBarsCount:null,backgroundBarsColor1:"rgba(0,0,0,0)",backgroundBarsColor2:"rgba(0,0,0,0)",backgroundGrid:!0,backgroundGridColor:"#ddd",backgroundGridLinewidth:1,backgroundGridHsize:20,backgroundGridVsize:20,backgroundGridVlines:!0,backgroundGridHlines:!0,backgroundGridBorder:!0,backgroundGridAutofit:!0,backgroundGridAutofitAlign:!0,backgroundGridHlinesCount:5,backgroundGridDashed:!1,backgroundGridDotted:!1,backgroundImage:null,backgroundImageStretch:!0,backgroundImageX:null,backgroundImageY:null,backgroundImageW:null,backgroundImageH:null,backgroundImageAlign:null,backgroundColor:null,backgroundHbars:null,marginTop:35,marginBottom:35,marginLeft:35,marginRight:35,marginInner:5,marginInnerGrouped:1,labelsIngraph:null,labelsIngraphFont:null,labelsIngraphSize:null,labelsIngraphColor:null,labelsIngraphBold:null,labelsIngraphItalic:null,labelsIngraphOffsetx:0,labelsIngraphOffsety:0,labelsAbove:!1,labelsAboveDecimals:0,labelsAboveSize:null,labelsAboveColor:null,labelsAboveBold:null,labelsAboveItalic:null,labelsAboveFont:null,labelsAbovePoint:".",labelsAboveThousand:",",labelsAboveBackground:"rgba(0,0,0,0)",labelsAboveAngle:null,labelsAboveOffset:null,labelsAboveOffsetx:0,labelsAboveOffsety:0,labelsAboveUnitsPre:"",labelsAboveUnitsPost:"",yaxis:!0,yaxisLinewidth:1,yaxisColor:"black",yaxisTickmarks:!0,yaxisTickmarksCount:null,yaxisTickmarksLastTop:null,yaxisTickmarksLastBottom:null,yaxisTickmarksLength:3,yaxisScale:!0,yaxisScaleMin:0,yaxisScaleMax:null,yaxisScaleUnitsPre:"",yaxisScaleUnitsPost:"",yaxisScaleDecimals:0,yaxisScalePoint:".",yaxisScaleThousand:",",yaxisScaleRound:!1,yaxisScaleFormatter:null,yaxisLabelsSpecific:null,yaxisLabelsCount:5,yaxisLabelsOffsetx:0,yaxisLabelsOffsety:0,yaxisLabelsHalign:null,yaxisLabelsValign:null,yaxisLabelsFont:null,yaxisLabelsSize:null,yaxisLabelsColor:null,yaxisLabelsBold:null,yaxisLabelsItalic:null,yaxisLabelsPosition:"edge",yaxisPosition:"left",yaxisTitle:"",yaxisTitleAccessible:null,yaxisTitleBold:null,yaxisTitleSize:null,yaxisTitleFont:null,yaxisTitleColor:null,yaxisTitleItalic:null,yaxisTitlePos:null,yaxisTitleX:null,yaxisTitleY:null,yaxisTitleOffsetx:0,yaxisTitleOffsety:0,yaxisTitleHalign:null,yaxisTitleValign:null,xaxis:!0,xaxisLinewidth:1,xaxisColor:"black",xaxisTickmarks:!0,xaxisTickmarksLength:3,xaxisTickmarksLastLeft:null,xaxisTickmarksLastRight:null,xaxisTickmarksCount:null,xaxisLabels:null,xaxisLabelsSize:null,xaxisLabelsFont:null,xaxisLabelsItalic:null,xaxisLabelsBold:null,xaxisLabelsColor:null,xaxisLabelsFormattedDecimals:0,xaxisLabelsFormattedPoint:".",xaxisLabelsFormattedThousand:",",xaxisLabelsFormattedUnitsPre:"",xaxisLabelsFormattedUnitsPost:"",xaxisLabelsOffsetx:0,xaxisLabelsOffsety:0,xaxisLabelsHalign:null,xaxisLabelsValign:null,xaxisLabelsPosition:"section",xaxisLabelsSpecificAlign:"left",xaxisPosition:"bottom",xaxisLabelsAngle:0,xaxisTitle:"",xaxisTitleBold:null,xaxisTitleSize:null,xaxisTitleFont:null,xaxisTitleColor:null,xaxisTitleItalic:null,xaxisTitlePos:null,xaxisTitleOffsetx:0,xaxisTitleOffsety:0,xaxisTitleX:null,xaxisTitleY:null,xaxisTitleHalign:null,xaxisTitleValign:null,textItalic:!1,textBold:!1,textColor:"black",textSize:12,textFont:"Arial, Verdana, sans-serif",textAccessible:!0,textAccessibleOverflow:"visible",textAccessiblePointerevents:!1,title:"",titleX:null,titleY:null,titleHalign:null,titleValign:null,titleBackground:null,titleHpos:null,titleVpos:null,titleFont:null,titleSize:null,titleColor:null,titleBold:null,titleItalic:null,titleOffsetx:0,titleOffsety:0,colorsStroke:"rgba(0,0,0,0)",colors:["red","#0f0","blue","pink","orange","cyan","black","white","green","magenta"],colorsSequential:!1,colorsReverse:!1,grouping:"grouped",variant:"bar",variantSketchVerticals:!0,variantThreedXaxis:!0,variantThreedYaxis:!0,variantThreedAngle:.1,variantThreedOffsetx:10,variantThreedOffsety:5,shadow:!1,shadowColor:"#aaa",shadowOffsetx:0,shadowOffsety:0,shadowBlur:15,tooltips:null,tooltipsEffect:"fade",tooltipsCssClass:"RGraph_tooltip",tooltipsCss:null,tooltipsEvent:"onclick",tooltipsHighlight:!0,tooltipsHotspotXonly:!1,tooltipsFormattedThousand:",",tooltipsFormattedPoint:".",tooltipsFormattedDecimals:0,tooltipsFormattedUnitsPre:"",tooltipsFormattedUnitsPost:"",tooltipsFormattedKeyColors:null,tooltipsFormattedKeyColorsShape:"square",tooltipsFormattedKeyLabels:[],tooltipsFormattedListType:"ul",tooltipsFormattedListItems:null,tooltipsFormattedTableHeaders:null,tooltipsFormattedTableData:null,tooltipsPointer:!0,tooltipsPositionStatic:!0,highlightStroke:"rgba(0,0,0,0)",highlightFill:"rgba(255,255,255,0.7)",key:null,keyBackground:"white",keyPosition:"graph",keyShadow:!1,keyShadowColor:"#666",keyShadowBlur:3,keyShadowOffsetx:2,keyShadowOffsety:2,keyPositionMarginBoxed:!1,keyPositionX:null,keyPositionY:null,keyInteractive:!1,keyInteractiveHighlightChartStroke:"black",keyInteractiveHighlightChartFill:"rgba(255,255,255,0.7)",keyInteractiveHighlightLabel:"rgba(255,0,0,0.2)",keyHalign:"right",keyColorShape:"square",keyRounded:!0,keyLinewidth:1,keyColors:null,keyLabelsColor:null,keyLabelsSize:null,keyLabelsFont:null,keyLabelsBold:null,keyLabelsItalic:null,keyLabelsOffsetx:0,keyLabelsOffsety:0,contextmenu:null,crosshairs:!1,crosshairsColor:"#333",crosshairsHline:!0,crosshairsVline:!0,linewidth:1,annotatable:!1,annotatableLinewidth:1,annotatableColor:"black",adjustable:!1,adjustableOnly:null,bevelled:!1,errorbars:!1,errorbarsColor:"black",errorbarsCapped:!0,errorbarsCappedWidth:14,errorbarsLinewidth:1,combinedEffect:null,combinedEffectOptions:null,combinedEffectCallback:null,corners:"square",cornersRoundRadius:10,clearto:"rgba(0,0,0,0)"},this.canvas){for(var p=RGraph.stringsToNumbers(p),i=0;i