### Example Chart Initialization Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/bd95d7e5ac0a40b6c704.html An example of initializing a chart with specific data, type, and configuration options. This appears to be a complete chart setup. ```javascript g((new e([ ], [(new V("Unique users", (new f()), [d(["Website visits", 15654]), d(["Downloads", 4064]), d(["Requested price list", 1987]), d(["Invoice sent", 976]), d(["Finalized", 846 ")]), 18, 9))], false, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Sales Funnel" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k())))) ``` -------------------------------- ### Installation Source: https://context7.com/tahahachana/fsplot/llms.txt Instructions on how to install the FsPlot library using the NuGet package manager. ```APIDOC ## Installation Install FsPlot via NuGet package manager. ```powershell PM> Install-Package FsPlot ``` ``` -------------------------------- ### Example Chart Initialization Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3032649453f3098de0ab.html Example usage of the library to render a chart with specific data points. ```javascript g((new e([], [(new V("Joe", (new f()), [d(["Apples", 3]), d(["Oranges", 5]), d(["Pears", 2]), d(["Bananas", 2])], 18, 9)), (new V("Jane", (new f()), [d(["Apples", 2]), d(["Oranges", 3]), d(["Pears", 1]), d(["Bananas", 3])], 18, 9)), (new V("John", (new f()), [d(["Apples", 1]), d(["Oranges", 3]), d(["Pears", 4]), d(["Bananas", 4])], 18, 9))], true, { Tag: 0.000000 }, { Tag: 0.000000 }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 1.000000, Value: "% of Fruit Consumption" }, (new k())))) ``` -------------------------------- ### Chart Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/acad8d538edeac22a7d3.html Example of initializing a chart with specific data series and configuration tags. ```javascript g((new e([], [(new V("Expenses", (new f()), [d(["2010", 1000]), d(["2011", 1170]), d(["2012", 560]), d(["2013", 1030])], 18, 9)), (new V("Sales", (new f()), [d(["2010", 1300]), d(["2011", 1470]), d(["2012", 740]), d(["2013", 1330])], 18, 9))], true, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Company Performance" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k()))), (new W())) ``` -------------------------------- ### Chart Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/a64105b3ebbe7fb6ef67.html Example demonstrating the initialization of a chart with sample data and configuration options. This includes setting up series, titles, and axes. ```javascript g((new e(\[\] , \[(new V("Joe", (new f()) , \[d(\["Apples", 3\]) , d(\["Oranges", 5\]) , d(\["Pears", 2\]) , d(\["Bananas", 2\]) ], 18, 9)) , (new V("Jane", (new f()) , \[d(\["Apples", 2\]) , d(\["Oranges", 3\]) , d(\["Pears", 1\]) , d(\["Bananas", 3\]) ], 18, 9)) , (new V("John", (new f()) , \[d(\["Apples", 1\]) , d(\["Oranges", 3\]) , d(\["Pears", 4\]) , d(\["Bananas", 4\]) ], 18, 9)) \] , true , { Tag: 0.000000 } , { Tag: 0.000000 } , { Tag: 0.000000 } , (new f()) , (new c()) , { Tag: 0.000000 } , { Tag: 1.000000, Value: "Fruit Consumption" } , (new k()) )) ``` -------------------------------- ### Chart Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3975f3755ce136d05a7c.html Example of initializing a chart with specific data series and configuration objects. ```javascript g((new e([], [(new V("Expenses", (new f()), [d(["2010", 1000]), d(["2011", 1170]), d(["2012", 560]), d(["2013", 1030])], 18, 9)), (new V("Sales", (new f()), [d(["2010", 1300]), d(["2011", 1470]), d(["2012", 740]), d(["2013", 1330])], 18, 9))], true, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Company Performance" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k())))) ``` -------------------------------- ### Chart Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/4776e466bf44202728ec.html Initializes a chart with specific data, options, and configurations. This example demonstrates setting up a browser share chart. ```javascript g((new e([ ], [(new V("Browser Share", (new f()), [d(["Chrome", 30.400000]), d(["Firefox", 26.600000]), d(["IE", 18.800000]), d(["Safari", 15.200000]), d(["Others", 9.000000])], 18, 14))], true, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Website Visitors By Browser" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k())))) ``` -------------------------------- ### Initialize Highcharts Chart Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3b5c60d148f3aae425ce.html Initializes a Highcharts chart with specified data, options, and configurations for title, subtitle, tooltip, and axes. This is a comprehensive example of chart setup. ```javascript g((new e([], [(new V("Browser Share", (new f()), [d(["Chrome", 30.400000]), d(["Firefox", 26.600000]), d(["IE", 18.800000]), d(["Safari", 15.200000]), d(["Others", 9.000000])], 18, 14))], true, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Website Visitors By Browser" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k())))) ``` -------------------------------- ### Highcharts Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/61b4dada35c17bb0513a.html Example of initializing a Highcharts chart with sales and expenses data, including chart options. ```javascript g((new e([], [(new V("Sales", (new f()), [d(["2010", 1300]), d(["2011", 1470]), d(["2012", 840]), d(["2013", 1330])], 18, 9)), (new V("Expenses", (new f()), [d(["2010", 1000]), d(["2011", 1170]), d(["2012", 580]), d(["2013", 1030])], 18, 9))], true, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Company Performance" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k()))), (new W()), false) ``` -------------------------------- ### Example Chart Initialization Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/d559870885471ea3bf9e.html A sample call to initialize a chart with population data. ```javascript g((new e([], [(new V("Asia", (new f()), [d(["1750", 502]), d(["1800", 635]), d(["1850", 809]), d(["1900", 947]), d(["1950", 1402]), d(["1999", 3634]), d(["2050", 5268])], 18, 9)), (new V("Africa", (new f()), [d(["1750", 106]), d(["1800", 107]), d(["1850", 111]), d(["1900", 133]), d(["1950", 221]), d(["1999", 767]), d(["2050", 1766])], 18, 9)), (new V("Europe", (new f()), [d(["1750", 163]), d(["1800", 203]), d(["1850", 276]), d(["1900", 408]), d(["1950", 547]), d(["1999", 729]), d(["2050", 628])], 18, 9)), (new V("America", (new f()), [d(["1750", 18]), d(["1800", 31]), d(["1850", 54]), d(["1900", 156]), d(["1950", 339]), d(["1999", 818]), d(["2050", 1201])], 18, 9)), (new V("Oceania", (new f()), [d(["1750", 2]), d(["1800", 2]), d(["1850", 2]), d(["1900", 6]), d(["1950", 13]), d(["1999", 30]), d(["2050", 46])], 18, 9))], true, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Historic and Estimated Worldwide Population Growth" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k()))), false) ``` -------------------------------- ### Execute Chart Rendering Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/b802a18f6c4516de0d95.html Example of initializing a chart with specific data and configuration parameters. ```javascript g((new e([], [(new V("AgeVsWeight", (new f()), [d([8.000000, 12.000000]), d([4.000000, 5.500000]), d([11.000000, 14.000000]), d([4.000000, 5.000000]), d([3.000000, 3.500000]), d([6.500000, 7.000000])], 14, 14))], false, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Age vs. Weight comparison" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 1.000000, Value: "Age" }, { Tag: 1.000000, Value: "Weight" }, (new k())))) ``` -------------------------------- ### Install FsPlot via NuGet Source: https://context7.com/tahahachana/fsplot/llms.txt Use the NuGet package manager to install the FsPlot library. ```powershell PM> Install-Package FsPlot ``` -------------------------------- ### Data Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/b74bfed5807709fa3bf0.html Initializes data for plotting, including series names, values, and type information. This example sets up data for 'Sales' and 'Expenses' over several years. ```javascript s((new k(["Sales", "Expenses"], [(new Y("", (new l()), [j(["2010", 1300]), j(["2011", 1470]), j(["2012", 740]), j(["2013", 1330])], 18, 9)), (new Y("", (new l()), [j(["2010", 1000]), j(["2011", 1170]), j(["2012", 560]), j(["2013", 1030])], 18, 9))], true, {Tag: 0.000000}, {Tag: 1.000000, Value: "Company Performance"}, {Tag: 0.000000}, (new l()), (new i()), {Tag: 0.000000}, {Tag: 1.000000, Value: "Year"}, (new u())))) ``` -------------------------------- ### Chart Initialization Execution Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/6defb9874b198729d29e.html Example of initializing a chart with specific data and configuration objects. ```javascript g((new e([], [(new V("Allocated Budget", (new f()), [d(["Sales", 43000]), d(["Marketing", 19000]), d(["Development", 60000]), d(["Customer Support", 35000]), d(["IT", 17000]), d(["Administration", 10000])], 18, 9)), (new V("Actual Spending", (new f()), [d(["Sales", 50000]), d(["Marketing", 39000]), d(["Development", 42000]), d(["Customer Support", 31000]), d(["IT", 26000]), d(["Administration", 14000])], 18, 9))], true, { Tag: 0.000000 }, { Tag: 1.000000, Value: "Budget VS Spending" }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new k())))) ``` -------------------------------- ### Initialize Plot Data Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/cae86d93e8914a7ddb15.html Example of initializing a plot structure with specific data points and configuration. ```javascript r((new m([], [(new Y("", (new n()), [l([37.423200, -122.085300]), l([37.428900, -122.169700]), l([37.615300, -122.390000]), l([37.442200, -122.173100])], 14, 14)), (new Y("", (new n()), [l([37.423200, "Work"]), l([37.428900, "University"]), l([37.615300, "Airport"]), l([37.442200, "Shopping"])], 14, 18))], false, { Tag: 0.000000 }, { Tag: 0.000000 }, { Tag: 0.000000 }, (new n()), (new k()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new t())))) ``` -------------------------------- ### Initialize Google Charts Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/149fea9707dd8ebf7b22.html Loads the Google Visualization API and sets a callback for when it's ready. Use this to start any chart-related functionality. ```javascript p = (function (db) { (google.load("visualization", "1", (new cb(["corechart"])))); return (google.setOnLoadCallback((function () { var eb; return db(eb); }))); }); ``` -------------------------------- ### Initialization of Plot Data Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/1dfb083d10e37d106ff3.html Example of initializing a plot structure with specific data points and configuration tags. ```javascript p((new k(["Popularity"], [(new X("", (new l()), [j(["Germany", 200]), j(["United States", 300]), j(["Brazil", 400]), j(["Canada", 500]), j(["France", 600]), j(["RU", 700])], 18, 9))], false, {Tag: 0.000000}, {Tag: 0.000000}, {Tag: 0.000000}, (new l()), (new i()), {Tag: 0.000000}, {Tag: 0.000000}, (new s()))), {Tag: 0.000000}, {Tag: 0.000000}, {Tag: 0.000000}) ``` -------------------------------- ### Initialize Chart Object Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/75f7614553b51fd6ba0a.html Initializes a chart object with render-to, type, and chart properties. Used for basic chart setup. ```javascript fb = (function (ob, pb, qb) { var rb = ({}); (rb.renderTo) = ob; null; (rb.type) = pb; null; (qb.chart) = rb; return null; }); ``` -------------------------------- ### Create List from Function and Initial Value Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/cae86d93e8914a7ddb15.html Creates a list by applying a function iteratively, starting from an initial value. ```javascript F = (function (db) { return a((function (eb) { return (function (fb) { return (new ab(eb, fb)); }); }), db, (new bb())); }); ``` -------------------------------- ### Get Array Length Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/5d854fb7fc2ef097a95e.html A utility function to get the length of an array. ```javascript a = (function (nb) { return nb.length;; }); ``` -------------------------------- ### Chart Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/a2ea2861f3dbdbb955ff.html Initializes a chart with sample data for multiple series ('Jane', 'John', 'Joe', 'Average'). Demonstrates setting up data points and categories for plotting. ```javascript h((new e([], [(new W("Jane", (new f()), [d(["Apples", 3]), d(["Oranges", 2]), d(["Pears", 1]), d(["Bananas", 3]), d(["Plums", 4\]), 18, 9)), (new W("John", (new f()), [d(["Apples", 2]), d(["Oranges", 3]), d(["Pears", 5]), d(["Bananas", 7]), d(["Plums", 6\]), 18, 9)), (new W("Joe", (new f()), [d(["Apples", 4]), d(["Oranges", 3]), d(["Pears", 3]), d(["Bananas", 9]), d(["Plums", 0\]), 18, 9)), (new W("Average" ``` -------------------------------- ### Get Enumerator from Collection (Alias) Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/b27962b275a1e4736e66.html An alias or alternative function to get the enumerator of a collection. Functionally identical to E. ```javascript F = (function (qb) { return qb.GetEnumerator(); }); ``` -------------------------------- ### Function to Get Enumerator Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/d559870885471ea3bf9e.html Provides a standard way to get an enumerator from an object. This is a common pattern for iterable objects in JavaScript. ```javascript E = (function (ob) { return ob.GetEnumerator(); }); ``` ```javascript F = (function (ob) { return ob.GetEnumerator(); }); ``` ```javascript G = (function (ob) { return ob.GetEnumerator(); }); ``` -------------------------------- ### Example Data Initialization Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/75f7614553b51fd6ba0a.html Initializes a complex data structure for chart plotting, including series data for multiple individuals and chart configuration options. ```javascript g((new e([ ], [(new V("Joe", (new f()), [d(["Apples", 3]), d(["Oranges", 5]), d(["Pears", 2]), d(["Bananas", 2])], 18, 9)), (new V("Jane", (new f()), [d(["Apples", 2]), d(["Oranges", 3]), d(["Pears", 1]), d(["Bananas", 3])], 18, 9)), (new V("John", (new f()), [d(["Apples", 1]), d(["Oranges", 3]), d(["Pears", 4]), d(["Bananas", 4])], 18, 9))], true, { Tag: 0.000000 }, { Tag: 0.000000 }, { Tag: 0.000000 }, (new f()), (new c()), { Tag: 0.000000 }, { Tag: 1.000000, Value: "Fruit Consumption" }, (new k())))) ``` -------------------------------- ### Apply Transformation and Get Enumerator (Helper) Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/b27962b275a1e4736e66.html A helper function that combines a transformation with getting an enumerator. It takes a transformation function, a seed, and a collection to enumerate. ```javascript H = (function (qb, rb, sb) { return I(qb, rb, E(sb)); }); ``` -------------------------------- ### Get Enumerator Function Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/75f7614553b51fd6ba0a.html E, F, and G are simple functions that return the enumerator of their input. They are likely used to abstract away the specific method for getting an enumerator. ```javascript E = (function (ob) { return ob.GetEnumerator(); }); F = (function (ob) { return ob.GetEnumerator(); }); G = (function (ob) { return ob.GetEnumerator(); }); ``` -------------------------------- ### Create Dynamic Area and Bubble Charts Source: https://context7.com/tahahachana/fsplot/llms.txt Demonstrates creating dynamic area and bubble charts. Area charts can have names and legends, while bubble charts require x, y, and size values for each data point. ```fsharp // Dynamic area chart let dynamicArea = [DateTime.Now, 50] |> DynamicChart.Area |> DynamicChart.WithName "Sensor Reading" |> DynamicChart.WithLegend true // Dynamic bubble chart with three values let dynamicBubble = [1, 50, 10] |> DynamicChart.Bubble |> DynamicChart.WithTitle "Dynamic Bubble" dynamicBubble.Push(2, 60, 15) // Push x, y, size values DynamicChart.Close dynamicArea DynamicChart.Close dynamicBubble ``` -------------------------------- ### Initialize and Configure Geo Chart Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/1dfb083d10e37d106ff3.html Sets up a Google Geo Chart with specified data, options, and element. Requires Google Visualization API. ```javascript var bb, ab, _, Z, Y, X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A, z, y, x, w, v, u, t, s, r, q, p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, a; a = (function (cb, db, eb) { return b((function (fb) { return (function (gb) { return (function (hb) { return cb(gb)(hb); }); }); }), db, eb); }); b = (function (cb, db, eb) { var fb = eb; var gb = d(db); for (var hb = 1; hb <= gb; hb++) { fb = cb((hb - 1))(db[ (gb - hb) ])(fb); null; }; return fb; }); c = (function (cb) { return (f(cb) == 0); }); d = (function (cb) { return cb.length;; }); e = (function (cb) { return cb.length;; }); f = (function (cb) { return cb.length;; }); g = (function (cb, db) { var eb = h(e(db)); for (var fb = 0; fb <= (e(db) - 1); fb++) { eb[fb] = cb(fb)(db[fb]); null; }; return eb; }); h = (function (cb) { return new Array(cb);; }); i = (function () { this.Tag = 0.000000; this._CaseName = "Category"; }); i.prototype.CompareTo = (function (cb) { var db = 0.000000; var eb = 0.000000; eb = ((this.Tag < cb.Tag) ? -1.000000 : ((this.Tag == cb.Tag) ? 0.000000 : 1.000000)); db = eb; if ((db != 0.000000)) { return db; } else { return 0.000000; }; }); j = (function (cb) { return cb; }); k = (function (cb, db, eb, fb, gb, hb, ib, jb, kb, lb, mb) { this.Categories = cb; this.Data = db; this.Legend = eb; this.Subtitle = fb; this.Title = gb; this.Tooltip = hb; this.Type = ib; this.XAxis = jb; this.XTitle = kb; this.YTitle = lb; this.Library = mb; }); k.prototype.CompareTo = (function (cb) { var db = 0.000000; var eb = 0.000000; var fb = 0.000000; while (((eb == 0.000000) && ((fb < this.Categories.length) && (fb < cb.Categories.length)))) { eb = ((this.Categories[fb] < cb.Categories[fb]) ? -1.000000 : ((this.Categories[fb] == cb.Categories[fb]) ? 0.000000 : 1.000000)); fb = (fb + 1.000000); }; eb = ((eb == 0.000000) ? (this.Categories.length - cb.Categories.length) : eb); db = eb; if ((db != 0.000000)) { return db; } else { var gb = 0.000000; var hb = 0.000000; while (((gb == 0.000000) && ((hb < this.Data.length) && (hb < cb.Data.length)))) { gb = this.Data[hb].CompareTo(cb.Data[hb]); hb = (hb + 1.000000); }; gb = ((gb == 0.000000) ? (this.Data.length - cb.Data.length) : gb); db = gb; if ((db != 0.000000)) { return db; } else { var ib = 0.000000; ib = ((this.Legend < cb.Legend) ? -1.000000 : ((this.Legend == cb.Legend) ? 0.000000 : 1.000000)); db = ib; if ((db != 0.000000)) { return db; } else { var jb = 0.000000; jb = this.Subtitle.CompareTo(cb.Subtitle); db = jb; if ((db != 0.000000)) { return db; } else { var kb = 0.000000; kb = this.Title.CompareTo(cb.Title); db = kb; if ((db != 0.000000)) { return db; } else { var lb = 0.000000; lb = this.Tooltip.CompareTo(cb.Tooltip); db = lb; if ((db != 0.000000)) { return db; } else { var mb = 0.000000; mb = this.Type.CompareTo(cb.Type); db = mb; if ((db != 0.000000)) { return db; } else { var nb = 0.000000; nb = this.XAxis.CompareTo(cb.XAxis); db = nb; if ((db != 0.000000)) { return db; } else { var ob = 0.000000; ob = this.XTitle.CompareTo(cb.XTitle); db = ob; if ((db != 0.000000)) { return db; } else { var pb = 0.000000; pb = this.YTitle.CompareTo(cb.YTitle); db = pb; if ((db != 0.000000)) { return db; } else { var qb = 0.000000; qb = this.Library.CompareTo(cb.Library); db = qb; if ((db != 0.000000)) { return db; } else { return 0.000000; }; }; }; }; }; }; }; }; }; }; }; }); l = (function () { this.Tag = 20.000000; this._CaseName = "Geo"; }); l.prototype.CompareTo = (function (cb) { var db = 0.000000; var eb = 0.000000; eb = ((this.Tag < cb.Tag) ? -1.000000 : ((this.Tag == cb.Tag) ? 0.000000 : 1.000000)); db = eb; if ((db != 0.000000)) { return db; } else { return 0.000000; }; }); m = (function (cb) { if ((cb == 3)) { return "boolean"; } else { if ((cb == 16)) { return "datetime"; } else { if ((cb == 18)) { return "string"; } else { return "number"; }; }; }; }); n = (function (cb, db, eb) { var fb = cb.Categories; var gb = c(fb); if (gb) { return eb.Name; } else { return fb[db]; }; }); o = (function (cb) { var db; var eb; var fb = (function (gb) { return (function (hb) { var ib = (new google.visualization.DataTable()); (function (jb) { var kb = jb; })((ib.addColumn(m(hb.XType)))); var jb = n(cb, gb, hb); (function (kb) { var lb = kb; })((ib.addColumn(m(hb.YType), jb))); (function (kb) { var lb = kb; })((ib.addRows(hb.Values))); return ib; }); }); eb = (function (gb) { return g(fb, gb); }); db = eb(cb.Data); return (function (gb) { return C(gb); })(db); }); p = (function (cb, db, eb, fb) { var gb = (function (hb) { var ib = ({}); if ((db.Tag == 1.000000)) { var jb = L(db); (ib.region) = jb; null; } else { ; }; if ((eb.Tag == 1.000000)) { var kb = L(eb); (ib.displayMode) = kb; null; } else { ; }; if ((fb.Tag == 1.000000)) { var lb = K(fb); var mb = ({}); (mb.minValue) = lb.MinValue; null; (mb.maxValue) = lb.MaxValue; null; (ib.sizeAxis) = mb; null; } else { ; }; var nb = (function (ob) { return q(ob); })(o(cb)); var ob = (new google.visualization.GeoC ``` -------------------------------- ### Data Initialization Example Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/aab4fdc7360e039e0bba.html This snippet demonstrates the initialization of complex data structures, including arrays of 'Y' objects and other nested objects. It appears to be setting up data for plotting or analysis. ```javascript n((new k(["Sales", "Expenses"], [(new Y("", (new l()), [j(["2010", 1300]), j(["2011", 1470]), j(["2012", 740]), j(["2013", 1330])], 18, 9)), (new Y("", (new l()), [j(["2010", 1000]), j(["2011", 1170]), j(["2012", 560]), j(["2013", 1030])], 18, 9))], true, {Tag: 0.000000}, {Tag: 1.000000, Value: "Company Performance"}, {Tag: 0.000000}, (new l()), (new i()), {Tag: 0.000000}, {Tag: 1.000000, Value: "Year"}, (new u())))) ``` -------------------------------- ### Utility Function: Get Array Length Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/10a101fc9c3469ddb80f.html Returns the length of an array. ```javascript a = (function (pb) { return pb.length;; }); ``` -------------------------------- ### Get jQuery Element Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/61b4dada35c17bb0513a.html Wraps a DOM element or selector string with jQuery. ```javascript hb = (function (rb) { return ((window.$)(rb)); }); ``` -------------------------------- ### Initialize fsplot chart configuration Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/044838f15db66c60f140.html Constructs a new chart instance with population and area percentage data series. ```javascript this.packages[jb] == gb.packages[jb]) ? 0.000000 : 1.000000)); jb = (jb + 1.000000); }; ib = ((ib == 0.000000) ? (this.packages.length - gb.packages.length) : ib); hb = ib; if ((hb != 0.000000)) { return hb; } else { return 0.000000; }; }); q((new m([], [(new _("Population", (new n()), [l(["France", 65700000]), l(["Germany", 81890000]), l(["Poland", 38540000])], 18, 9)), (new _("Area Percentage", (new n()), [l(["France", 50]), l(["Germany", 27]), l(["Poland", 23])], 18, 9))], false, { Tag: 0.000000 }, { Tag: 0.000000 }, { Tag: 0.000000 }, (new n()), (new k()), { Tag: 0.000000 }, { Tag: 0.000000 }, (new t()))), { Tag: 1.000000, Value: "155" }, { Tag: 1.000000, Value: "markers" }, { Tag: 1.000000, Value: (new ab(0.000000, 100.000000)) }) ``` -------------------------------- ### Create Instance with Arguments Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/cae86d93e8914a7ddb15.html Creates a new instance of a class with provided arguments. ```javascript x = (function (db, eb) { return (new ab(db, eb)); }); ``` -------------------------------- ### Get Enumerator Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3975f3755ce136d05a7c.html Returns the enumerator for a given object. This is a common utility for iterating over collections. ```javascript E = (function (ob) { return ob.GetEnumerator(); }); ``` ```javascript F = (function (ob) { return ob.GetEnumerator(); }); ``` ```javascript G = (function (ob) { return ob.GetEnumerator(); }); ``` -------------------------------- ### Get Enumerator (E) Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3032649453f3098de0ab.html Retrieves the enumerator for an object. This is a common utility for iterating over collections. ```javascript E = (function (ob) { return ob.GetEnumerator(); }); ``` -------------------------------- ### Create Instance with Initializer Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/149fea9707dd8ebf7b22.html Creates a new instance of 'ab' using a provided initializer function and an initial value. ```javascript E = (function (db) { return a((function (eb) { return (function (fb) { return (new ab(eb, fb)); }); }), db, (new bb())); }); ``` -------------------------------- ### Initialize and Populate Array Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/a2ea2861f3dbdbb955ff.html Function R initializes an array 'rb' with zeros and then populates it using a function 'qb' and the 'N' function for iteration and transformation. ```javascript R = (function (qb) { var rb = b(0); var sb; var tb = (function (ub) { return (function (vb) { rb[ub] = vb; return null; }); }); sb = (function (ub) { return N(tb, ub); }); sb(qb); return rb; }); ``` -------------------------------- ### Initialize Chart Configuration Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/5d854fb7fc2ef097a95e.html Sets up the basic chart configuration object for Highcharts, including type and container. ```javascript var mb, lb, kb, jb, ib, hb, gb, fb, eb, db, cb, bb, ab, _, Z, Y, X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A, z, y, x, w, v, u, t, s, r, q, p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, a; ``` -------------------------------- ### Get Enumerator from Collection Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/b27962b275a1e4736e66.html Returns the enumerator for a given collection. This is a fundamental operation for iterating over collections. ```javascript E = (function (qb) { return qb.GetEnumerator(); }); ``` -------------------------------- ### Get the enumerator for a data structure Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/0094ce931e590f5d4636.html Retrieves the enumerator for a data structure, likely for iterating over its contents. ```javascript P = (function (db) { return db.GetEnumerator(); }); ``` -------------------------------- ### Populate Array with Q Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/75f7614553b51fd6ba0a.html Q populates an array by applying a function to each element of an input, likely for mapping or side-effecting operations. It uses M internally. ```javascript Q = (function (ob) { var pb = b(0); var qb; var rb = (function (sb) { return (function (tb) { pb[sb] = tb; return null; }); }); qb = (function (sb) { return M(rb, sb); }); qb(ob); return pb; }); ``` -------------------------------- ### Get Array Length (Redundant) Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/149fea9707dd8ebf7b22.html Returns the length of an array. This function is identical to 'e' and 'f'. ```javascript d = (function (db) { return db.length;; }); ``` -------------------------------- ### Create a new object with a specific configuration Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/0094ce931e590f5d4636.html Creates a new object, likely a configuration or settings object, using a predefined structure. ```javascript x = (function () { return (new bb()); }); ``` -------------------------------- ### Get Enumerator (Alternative) Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3b5c60d148f3aae425ce.html A utility function 'F' that returns the enumerator of an object, similar to 'E'. ```javascript F = (function (nb) { return nb.GetEnumerator(); }); ``` -------------------------------- ### Get Enumerator (F) Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3032649453f3098de0ab.html Retrieves the enumerator for an object. Similar to function E, used for iteration. ```javascript F = (function (ob) { return ob.GetEnumerator(); }); ``` -------------------------------- ### Create New Instance Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/149fea9707dd8ebf7b22.html Creates a new instance of 'ab' with two arguments. ```javascript w = (function (db, eb) { return (new ab(db, eb)); }); ``` -------------------------------- ### Initialize Chart Factory Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/149fea9707dd8ebf7b22.html Constructor for the chart factory, taking a database object as input. ```javascript t = (function (db) { this.factory = db; }); ``` -------------------------------- ### Variable Declarations Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/d77a110ea4ecc14382a1.html Initializes a large number of variables to undefined. This is likely boilerplate or setup code. ```javascript var cb, bb, ab, _, Z, Y, X, W, V, U, T, S, R, Q, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A, z, y, x, w, v, u, t, s, r, q, p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, a; ``` -------------------------------- ### Generic Function Wrapper Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/aab4fdc7360e039e0bba.html A higher-order function that wraps another function, potentially for setup or cleanup. ```javascript a = (function (db, eb, fb) { return b((function (gb) { return (function (hb) { return (function (ib) { return db(hb)(ib); }); }); }), eb, fb); }); ``` -------------------------------- ### Create New Instance with Function Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/149fea9707dd8ebf7b22.html Creates a new instance of 'ab' using a provided function and an initial value. ```javascript v = (function (db, eb) { return z((function (fb) { return (function (gb) { return (new ab(gb, fb)); }); }), eb, F(db)); }); ``` -------------------------------- ### Array Length Utility Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/d77a110ea4ecc14382a1.html Returns the length of an array. Provides a consistent way to get array size. ```javascript d = (function (db) { return db.length;; }); ``` ```javascript e = (function (db) { return db.length;; }); ``` -------------------------------- ### Initialize Chart with Data Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/5d854fb7fc2ef097a95e.html Initializes a chart with specified data, series, and configuration options. This function appears to be a high-level constructor or setup function for a chart object. ```javascript g((new e(\[\]\, \[(new V("Tempratures", (new f())\, \[d(\[1408348297422.000000\, -2\, 7\])\, d(\[1408434697423.000000\, -3\, 6\])\, d(\[1408521097423.000000\, -5\, 6\])\, d(\[1408607497423.000000\, -4\, 5\])\, d(\[1408693897423.000000\, -4\, 6\])\, d(\[1408780297423.000000\, -5\, 4\])\, d(\[1408866697423.000000\, -5\, 7\])\]\, 16\, 9))\]\, false\, { Tag: 0.000000 }\, { Tag: 1.000000\, Value: "Temprature Variation" }\, { Tag: 0.000000 }\, (new f())\, (new c())\, { Tag: 0.000000 }\, { Tag: 0.000000 }\, (new k())))) ``` -------------------------------- ### Data Initialization and Configuration Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/149fea9707dd8ebf7b22.html Initializes a complex data structure likely for plotting, including series names, values, and type configurations. This appears to be a top-level setup call. ```javascript s((new k(["Sales", "Expenses"], [(new Y("", (new l()), [j(["2010", 1300]), j(["2011", 1470]), j(["2012", 740]), j(["2013", 1330])], 18, 9)), (new Y("", (new l()), [j(["2010", 1000]), j(["2011", 1170]), j(["2012", 560]), j(["2013", 1030])], 18, 9))], true, {Tag: 0.000000}, {Tag: 1.000000, Value: "Company Performance"}, {Tag: 0.000000}, (new l()), (new i()), {Tag: 1.000000, Value: "Year"}, {Tag: 0.000000}, (new u())))) ``` -------------------------------- ### Get Enumerator Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3b5c60d148f3aae425ce.html A utility function 'E' that returns the enumerator of an object. This is a common pattern for iterable objects. ```javascript E = (function (nb) { return nb.GetEnumerator(); }); ``` -------------------------------- ### Configure X-Axis Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/61b4dada35c17bb0513a.html Sets up the X-axis for a chart, including type, categories, and title. ```javascript pb = (function (rb, sb, tb, ub) { var vb = ({}); var wb; var xb = a(tb); if ((xb == 0)) { if ((rb.Tag == 1.000000)) { wb = "datetime"; } else { if ((rb.Tag == 2.000000)) { wb = "linear"; } else { wb = "category"; }; }; } else { (vb.categories) = tb; null; wb = "category"; }; var yb = wb; (vb.type) = yb; null; var zb = ({}); var Ab; if ((ub.Tag == 1.000000)) { var Bb = r(ub); Ab = Bb; } else { Ab = ""; }; var Cb; if ((ub.Tag == 1.000000)) { var Bb = r(ub); Cb = Bb; } else { Cb = ""; }; (zb.text) = Ab; null; (vb.title) = zb; null; (sb.xAxis) = vb; return null; }); ``` -------------------------------- ### Get Enumerator (G) Source: https://github.com/tahahachana/fsplot/blob/master/Docs/Docs/iframe/3032649453f3098de0ab.html Retrieves the enumerator for an object. This function is a direct wrapper around the GetEnumerator method. ```javascript G = (function (ob) { return ob.GetEnumerator(); }); ```