{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/IEYjzYd99a5tIcEAELDB/ZyYcJ1k0edciXeqpxR7l/CartesianChart.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @copyright \u00A9framersnippets.com\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 200\n * @framerDisableUnlink\n **/export default function CartesianChart({style,font,fontColor,fileType,filepath,url,chartType,dataStyle,legendSettings,gridSettings,tooltipSettings,crosshairSettings}){const chartRef=useRef(null);const canvasRef=useRef(null);const[scriptsLoaded,setScriptsLoaded]=useState(false);// Load Chart.js and PapaParse scripts\nuseEffect(()=>{const loadScript=src=>{return new Promise((resolve,reject)=>{const script=document.createElement(\"script\");script.src=src;script.async=true;script.onload=()=>resolve();script.onerror=reject;document.head.appendChild(script);});};Promise.all([loadScript(\"https://cdn.jsdelivr.net/npm/chart.js\"),loadScript(\"https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js\")]).then(()=>{window.Papa=window.Papa;setScriptsLoaded(true);}).catch(error=>{console.error(\"Error loading scripts:\",error);});return()=>{document.head.querySelectorAll('script[src=\"https://cdn.jsdelivr.net/npm/chart.js\"], script[src=\"https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js\"]').forEach(script=>{document.head.removeChild(script);});};},[]);// Parse CSV data using PapaParse\nconst parseCSV=csvData=>{const isEmptyValue=value=>{if(value===null||value===undefined)return true;const trimmed=String(value).trim().toLowerCase();return trimmed===\"\"||trimmed===\"nan\"||trimmed===\"NaN\"||trimmed===\"null\"||trimmed===\"NULL\"||trimmed===\"n/a\"||trimmed===\"N/A\"||trimmed===\"undefined\";};const parsedData=window.Papa.parse(csvData,{header:true,skipEmptyLines:\"greedy\",transform:value=>value.trim()}).data.filter(row=>Object.values(row).some(value=>!isEmptyValue(value)));const labels=parsedData.map(row=>row[Object.keys(row)[0]]);const datasets=Object.keys(parsedData[0]).slice(1).map((key,index)=>{const style=dataStyle[index]||defaultDataStyle;return{label:key,data:parsedData.map(row=>parseFloat(row[key])),borderColor:style.borderColor,borderWidth:style.borderWidth,backgroundColor:style.fillToBottom?style.fillToBottomColor:style.pointColor,pointBackgroundColor:style.pointColor,pointRadius:style.pointSize,pointHoverRadius:style.hoverPointSize,borderRadius:style.radius,tension:chartType===\"line\"?style.radius/100:0,fill:style.fillToBottom?\"start\":chartType!==\"line\"};});return{labels,datasets};};// Create and update chart\nuseEffect(()=>{if(scriptsLoaded&&canvasRef.current){const loadData=async()=>{let csvData;if(fileType===\"File\"&&filepath){csvData=await fetch(filepath).then(response=>response.text());}else if(fileType===\"URL\"&&url){csvData=await fetch(url).then(response=>response.text());}else{csvData=await fetch(\"https://framersnippets.vercel.app/btc-eth.csv\").then(response=>response.text());}const data=parseCSV(csvData);const ctx=canvasRef.current.getContext(\"2d\");if(chartRef.current){chartRef.current.destroy();}// Parse font size value to size dynmiacally the legend to match font size\nconst fontSizeValue=parseInt(font.fontSize,10);const legendBox={boxWidth:fontSizeValue/1.5,boxHeight:fontSizeValue/1.5};// Custom crosshair plugin for Chart.js\nconst crosshairPlugin={id:\"crosshair\",afterEvent:function(chart,args,options){const{ctx,chartArea:{top,bottom,left,right}}=chart;const{x,y}=args.event;if(x<left||x>right||y<top||y>bottom){chart.crosshairActive=false;chart.draw();return;}chart.crosshairActive=true;chart.crosshairX=x;chart.crosshairY=y;chart.draw();},beforeDatasetsDraw:function(chart,args,options){if(!chart.crosshairActive)return;const{ctx,chartArea:{top,bottom,left,right},crosshairX,crosshairY}=chart;ctx.save();ctx.beginPath();ctx.lineWidth=options.borderSize;ctx.strokeStyle=options.borderColor;ctx.setLineDash(options.borderStyle===\"dashed\"?[5,5]:options.borderStyle===\"dotted\"?[2,2]:[]);if(options.axisX){ctx.moveTo(crosshairX,top);ctx.lineTo(crosshairX,bottom);}if(options.axisY){ctx.moveTo(left,crosshairY);ctx.lineTo(right,crosshairY);}ctx.stroke();ctx.restore();}};window.Chart.register(crosshairPlugin);// Create new chart\nchartRef.current=new window.Chart(ctx,{type:chartType,data:{labels:data.labels,datasets:data.datasets},options:{animations:false,responsive:true,maintainAspectRatio:false,interaction:{mode:\"index\",intersect:false},scales:{x:{title:{display:false,text:\"Labels\"},grid:{display:gridSettings.showGridX,color:gridSettings.gridColor,drawBorder:gridSettings.showGridX},ticks:{font:{family:font.fontFamily,size:font.fontSize,weight:font.fontWeight,lineHeight:font.lineHeight},color:fontColor},border:{display:false}},y:{title:{display:false,text:\"Values\"},grid:{display:gridSettings.showGridY,color:gridSettings.gridColor,drawBorder:gridSettings.showGridY},ticks:{font:{family:font.fontFamily,size:font.fontSize,weight:font.fontWeight,lineHeight:font.lineHeight},color:fontColor},border:{display:false}}},elements:{line:{tension:0},bar:{borderRadius:0,borderSkipped:false}},plugins:{legend:{display:legendSettings.showLegend,position:legendSettings.legendPosition,labels:{font:{family:font.fontFamily,size:font.fontSize,weight:font.fontWeight,lineHeight:font.lineHeight},boxWidth:legendBox.boxWidth,boxHeight:legendBox.boxWidth,color:fontColor,usePointStyle:legendSettings.pointStyle===\"point\"}},tooltip:{enabled:tooltipSettings.visible,backgroundColor:tooltipSettings.fill,borderColor:tooltipSettings.borderColor,titleColor:tooltipSettings.fontColor,bodyColor:tooltipSettings.fontColor,borderWidth:tooltipSettings.borderSize,displayColors:tooltipSettings.showLegend,cornerRadius:tooltipSettings.tooltipRadius,padding:tooltipSettings.tooltipPadding,titleFont:{size:font.fontSize,family:font.fontFamily},bodyFont:{size:font.fontSize,family:font.fontFamily},boxWidth:legendBox.boxWidth,boxHeight:legendBox.boxWidth,boxPadding:legendBox.boxWidth/2,usePointStyle:legendSettings.pointStyle===\"point\",callbacks:{labelPointStyle:function(context){return{pointStyle:legendSettings.pointStyle===\"point\"?\"circle\":\"rect\",rotation:0};}}},crosshair:{axisX:crosshairSettings.axisX,axisY:crosshairSettings.axisY,borderColor:crosshairSettings.borderColor,borderSize:crosshairSettings.borderSize,borderStyle:crosshairSettings.borderStyle}}}});};loadData();}},[scriptsLoaded,filepath,url,chartType,dataStyle,font,fontColor,legendSettings,gridSettings,tooltipSettings,crosshairSettings]);return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",position:\"relative\"},children:/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{width:\"100%\",height:\"100%\"}})});}const defaultDataStyle={borderWidth:1,borderColor:\"#0599ff\",fillToBottom:true,fillToBottomColor:\"rgba(5, 153, 255, .1)\",pointSize:0,pointColor:\"rgba(5, 153, 255, 1)\",hoverPointSize:3,radius:50};// Default props\nCartesianChart.defaultProps={chartType:\"line\",dataStyle:[defaultDataStyle,defaultDataStyle],fontColor:\"#000000\",legendSettings:{showLegend:true,legendPosition:\"top\",pointStyle:\"default\"},gridSettings:{showGridX:true,showGridY:true,gridColor:\"rgba(0, 0, 0, .07)\"},tooltipSettings:{visible:true,showLegend:false,fill:\"#0599ff\",borderSize:0,borderColor:\"#0599ff\",fontColor:\"#ffffff\",tooltipRadius:0,tooltipPadding:12},crosshairSettings:{axisX:true,axisY:true,borderSize:1,borderColor:\"#0599ff\",borderStyle:\"dotted\"}};// Adding property controls to the Chart component in Framer\naddPropertyControls(CartesianChart,{fileType:{type:ControlType.Enum,options:[\"URL\",\"File\"],title:\"Source\",displaySegmentedControl:true,optionTitles:[\"URL\",\"File\"]},filepath:{type:ControlType.File,allowedFileTypes:[\"csv\"],title:\"\u200E\",hidden(props){return props.fileType!==\"File\";},description:\"Link your data and customize the default traces or add new ones to style each segment.\"},url:{type:ControlType.String,title:\"\u200E\",placeholder:\"http://example.com/data.csv\",hidden(props){return props.fileType!==\"URL\";},description:\"Link your data and customize the default traces or add new ones to style each segment.\"},chartType:{type:ControlType.Enum,options:[\"line\",\"bar\"],title:\"Type\",displaySegmentedControl:true,optionTitles:[\"Line\",\"Bar\"]},dataStyle:{type:ControlType.Array,title:\"Trace\",control:{type:ControlType.Object,controls:{borderWidth:{type:ControlType.Number,title:\"Border\",step:1,displayStepper:true,min:1,max:10,defaultValue:defaultDataStyle.borderWidth},borderColor:{type:ControlType.Color,title:\"\u200E\",defaultValue:defaultDataStyle.borderColor},fillToBottom:{type:ControlType.Boolean,title:\"Fill\",defaultValue:defaultDataStyle.fillToBottom},fillToBottomColor:{type:ControlType.Color,title:\"\u200E\",defaultValue:defaultDataStyle.fillToBottomColor,hidden(props){return!props.fillToBottom;}},pointSize:{type:ControlType.Number,title:\"Point\",defaultValue:defaultDataStyle.pointSize,step:1,displayStepper:true,min:0,max:10},pointColor:{type:ControlType.Color,title:\"\u200E\",defaultValue:defaultDataStyle.pointColor},hoverPointSize:{type:ControlType.Number,title:\"Point Hover\",defaultValue:defaultDataStyle.hoverPointSize,step:1,displayStepper:true,min:0,max:10},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:defaultDataStyle.radius,step:1,displayStepper:true,min:0,max:50}}},defaultValue:CartesianChart.defaultProps.dataStyle},font:{type:ControlType.Font,controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultFontType:\"sans-serif\",defaultValue:{fontSize:12,lineHeight:\"1.2em\"}},fontColor:{type:ControlType.Color,title:\"Color\",defaultValue:CartesianChart.defaultProps.fontColor},legendSettings:{type:ControlType.Object,title:\"Legend\",controls:{showLegend:{type:ControlType.Boolean,title:\"Visible\",defaultValue:CartesianChart.defaultProps.legendSettings.showLegend},legendPosition:{type:ControlType.Enum,title:\"Position\",options:[\"top\",\"bottom\"],displaySegmentedControl:true,optionTitles:[\"Top\",\"Bottom\"],defaultValue:CartesianChart.defaultProps.legendSettings.legendPosition,hidden(props){return!props.showLegend;}},pointStyle:{type:ControlType.Enum,title:\"Symbol\",options:[\"default\",\"point\"],displaySegmentedControl:true,optionTitles:[\"Square\",\"Point\"],defaultValue:CartesianChart.defaultProps.legendSettings.pointStyle,hidden(props){return!props.showLegend;}}}},gridSettings:{type:ControlType.Object,title:\"Grid\",controls:{showGridX:{type:ControlType.Boolean,title:\"X Axis\",defaultValue:CartesianChart.defaultProps.gridSettings.showGridX,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showGridY:{type:ControlType.Boolean,title:\"Y Axis\",defaultValue:CartesianChart.defaultProps.gridSettings.showGridY,enabledTitle:\"Show\",disabledTitle:\"Hide\"},gridColor:{type:ControlType.Color,title:\"Color\",defaultValue:CartesianChart.defaultProps.gridSettings.gridColor}}},tooltipSettings:{type:ControlType.Object,title:\"Tooltip\",controls:{visible:{type:ControlType.Boolean,title:\"Visible\",defaultValue:CartesianChart.defaultProps.tooltipSettings.visible},showLegend:{type:ControlType.Boolean,title:\"Symbol\",defaultValue:CartesianChart.defaultProps.tooltipSettings.showLegend,enabledTitle:\"Show\",disabledTitle:\"Hide\",hidden(props){return props.visible==false;}},fontColor:{type:ControlType.Color,title:\"Font\",defaultValue:CartesianChart.defaultProps.tooltipSettings.fontColor,hidden(props){return props.visible==false;}},fill:{type:ControlType.Color,title:\"Fill\",defaultValue:CartesianChart.defaultProps.tooltipSettings.fill,hidden(props){return props.visible==false;}},borderSize:{type:ControlType.Number,title:\"Border\",step:1,defaultValue:CartesianChart.defaultProps.tooltipSettings.borderSize,displayStepper:true,min:0,max:50,hidden(props){return props.visible==false;}},borderColor:{type:ControlType.Color,title:\"\u200E\",defaultValue:CartesianChart.defaultProps.tooltipSettings.borderColor,hidden(props){return props.visible==false;}},tooltipRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:CartesianChart.defaultProps.tooltipSettings.tooltipRadius,displayStepper:true,min:0,max:30,hidden(props){return props.visible==false;}},tooltipPadding:{type:ControlType.Number,title:\"Padding\",defaultValue:CartesianChart.defaultProps.tooltipSettings.tooltipPadding,displayStepper:true,min:0,max:30,hidden(props){return props.visible==false;}}}},crosshairSettings:{type:ControlType.Object,title:\"Crosshair\",controls:{axisY:{type:ControlType.Boolean,title:\"Axis X\",defaultValue:CartesianChart.defaultProps.crosshairSettings.axisY,enabledTitle:\"Show\",disabledTitle:\"Hide\"},axisX:{type:ControlType.Boolean,title:\"Axis Y\",defaultValue:CartesianChart.defaultProps.crosshairSettings.axisX,enabledTitle:\"Show\",disabledTitle:\"Hide\"},borderSize:{type:ControlType.Number,title:\"Border\",defaultValue:CartesianChart.defaultProps.crosshairSettings.borderSize,displayStepper:true,min:0,max:50},borderColor:{type:ControlType.Color,title:\"\u200E\",defaultValue:CartesianChart.defaultProps.crosshairSettings.borderColor},borderStyle:{type:ControlType.Enum,title:\"\u200E\",options:[\"solid\",\"dotted\",\"dashed\"],defaultValue:CartesianChart.defaultProps.crosshairSettings.borderStyle}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CartesianChart\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"200\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CartesianChart.map"],
  "mappings": "uJAOmB,SAARA,EAAgC,CAAC,MAAAC,EAAM,KAAAC,EAAK,UAAAC,EAAU,SAAAC,EAAS,SAAAC,EAAS,IAAAC,EAAI,UAAAC,EAAU,UAAAC,EAAU,eAAAC,EAAe,aAAAC,EAAa,gBAAAC,EAAgB,kBAAAC,CAAiB,EAAE,CAAC,IAAMC,EAASC,EAAO,IAAI,EAAQC,EAAUD,EAAO,IAAI,EAAO,CAACE,EAAcC,CAAgB,EAAEC,EAAS,EAAK,EACxRC,EAAU,IAAI,CAAC,IAAMC,EAAWC,GAAa,IAAI,QAAQ,CAACC,EAAQC,IAAS,CAAC,IAAMC,EAAO,SAAS,cAAc,QAAQ,EAAEA,EAAO,IAAIH,EAAIG,EAAO,MAAM,GAAKA,EAAO,OAAO,IAA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AAO,MAAM,YAAY,SAAS,CAAC,MAAM,CAAC,KAAKA,EAAY,QAAQ,MAAM,SAAS,aAAa3D,EAAe,aAAa,kBAAkB,MAAM,aAAa,OAAO,cAAc,MAAM,EAAE,MAAM,CAAC,KAAK2D,EAAY,QAAQ,MAAM,SAAS,aAAa3D,EAAe,aAAa,kBAAkB,MAAM,aAAa,OAAO,cAAc,MAAM,EAAE,WAAW,CAAC,KAAK2D,EAAY,OAAO,MAAM,SAAS,aAAa3D,EAAe,aAAa,kBAAkB,WAAW,eAAe,GAAK,IAAI,EAAE,IAAI,EAAE,EAAE,YAAY,CAAC,KAAK2D,EAAY,MAAM,MAAM,SAAI,aAAa3D,EAAe,aAAa,kBAAkB,WAAW,EAAE,YAAY,CAAC,KAAK2D,EAAY,KAAK,MAAM,SAAI,QAAQ,CAAC,QAAQ,SAAS,QAAQ,EAAE,aAAa3D,EAAe,aAAa,kBAAkB,WAAW,CAAC,CAAC,CAAC,CAAC",
  "names": ["CartesianChart", "style", "font", "fontColor", "fileType", "filepath", "url", "chartType", "dataStyle", "legendSettings", "gridSettings", "tooltipSettings", "crosshairSettings", "chartRef", "pe", "canvasRef", "scriptsLoaded", "setScriptsLoaded", "ye", "ue", "loadScript", "src", "resolve", "reject", "script", "window", "error", "parseCSV", "csvData", "isEmptyValue", "value", "trimmed", "parsedData", "row", "labels", "datasets", "key", "index", "defaultDataStyle", "response", "data", "ctx", "fontSizeValue", "legendBox", "crosshairPlugin", "chart", "args", "options", "top", "bottom", "left", "right", "x", "y", "crosshairX", "crosshairY", "context", "p", "addPropertyControls", "ControlType", "props"]
}
