function getChartColorsArray(e) { if (null !== document.getElementById(e)) { e = document.getElementById(e).getAttribute("data-colors"); if (e) return (e = JSON.parse(e)).map(function(e) { var t = e.replace(" ", ""); return -1 === t.indexOf(",") ? getComputedStyle(document.documentElement).getPropertyValue(t) || t : 2 == (e = e.split(",")).length ? "rgba(" + getComputedStyle(document.documentElement).getPropertyValue(e[0]) + "," + e[1] + ")" : t }) } } var chartCandlestickBasicColors = getChartColorsArray("basic_candlestick"), chartCandlestickComboColors = (chartCandlestickBasicColors && (options = { series: [{ data: [ { x:'04/25/2024',y:[35.86,35.86,35.78,35.78]},{ x:'04/26/2024',y:[35.60,35.60,35.51,35.59]},{ x:'04/29/2024',y:[35.90,35.90,35.86,35.86]},{ x:'04/30/2024',y:[35.92,36.05,35.92,36.05]},{ x:'05/02/2024',y:[35.91,35.92,35.78,35.92]},{ x:'05/03/2024',y:[35.90,35.94,35.87,35.94]},{ x:'05/06/2024',y:[36.16,36.19,36.16,36.19]},{ x:'05/07/2024',y:[36.38,36.54,36.38,36.48]},{ x:'05/08/2024',y:[36.58,36.59,36.54,36.54]},{ x:'05/09/2024',y:[36.36,36.41,36.36,36.39]},{ x:'05/10/2024',y:[36.58,36.62,36.58,36.61]},{ x:'05/13/2024',y:[36.48,36.48,36.40,36.42]},{ x:'05/14/2024',y:[36.44,36.44,36.44,36.44]},{ x:'05/15/2024',y:[36.44,36.44,36.41,36.43]},{ x:'05/16/2024',y:[36.85,36.85,36.72,36.79]},{ x:'05/17/2024',y:[36.31,36.36,36.31,36.34]},{ x:'05/20/2024',y:[36.20,36.20,36.18,36.19]},{ x:'05/21/2024',y:[36.16,36.16,36.10,36.15]},{ x:'05/22/2024',y:[36.24,36.24,36.21,36.21]},{ x:'05/23/2024',y:[36.24,36.24,36.16,36.17]},{ x:'05/24/2024',y:[36.07,36.07,35.98,35.98]},{ x:'06/11/2024',y:[36.16,36.26,36.16,36.24]},{ x:'06/12/2024',y:[36.45,36.48,36.43,36.48]},{ x:'06/13/2024',y:[36.66,36.72,36.65,36.67]},{ x:'06/14/2024',y:[37.03,37.04,37.00,37.00]},{ x:'06/17/2024',y:[37.00,37.01,36.96,36.96]},{ x:'06/18/2024',y:[36.86,36.86,36.83,36.84]},{ x:'06/19/2024',y:[37.03,37.07,37.03,37.06]},{ x:'06/20/2024',y:[36.95,36.95,36.89,36.91]},{ x:'06/21/2024',y:[36.83,36.83,36.74,36.77]},{ x:'06/24/2024',y:[36.82,36.85,36.82,36.82]},{ x:'06/25/2024',y:[37.06,37.11,37.05,37.11]},{ x:'06/26/2024',y:[36.99,37.00,36.95,37.00]},{ x:'06/27/2024',y:[36.63,36.68,36.61,36.66]},{ x:'06/28/2024',y:[36.88,36.88,36.68,36.72]},{ x:'07/01/2024',y:[36.21,36.27,36.21,36.26]},{ x:'07/02/2024',y:[36.15,36.23,36.15,36.21]},{ x:'07/03/2024',y:[36.36,36.52,36.36,36.49]},{ x:'07/04/2024',y:[36.71,36.71,36.63,36.66]},{ x:'07/05/2024',y:[36.62,36.66,36.62,36.64]},{ x:'07/12/2024',y:[37.27,37.36,37.27,37.34]},{ x:'07/15/2024',y:[37.25,37.34,37.25,37.31]},{ x:'07/16/2024',y:[37.41,37.44,37.41,37.41]},{ x:'07/17/2024',y:[37.64,37.67,37.64,37.64]},{ x:'07/18/2024',y:[37.57,37.60,37.55,37.59]},{ x:'07/19/2024',y:[37.65,37.65,37.58,37.58]},{ x:'07/22/2024',y:[37.58,37.70,37.58,37.70]},{ x:'07/23/2024',y:[37.48,37.55,37.48,37.52]},{ x:'07/26/2024',y:[37.39,37.39,37.13,37.18]},{ x:'07/29/2024',y:[37.29,37.52,37.29,37.50]},{ x:'07/30/2024',y:[37.57,37.58,37.55,37.55]},{ x:'07/31/2024',y:[37.57,37.67,37.57,37.64]},{ x:'08/01/2024',y:[37.96,38.00,37.93,37.97]},{ x:'08/02/2024',y:[38.19,38.19,38.11,38.14]},{ x:'08/05/2024',y:[38.83,38.83,38.41,38.60]},{ x:'08/06/2024',y:[38.60,38.60,38.13,38.21]},{ x:'08/07/2024',y:[38.04,38.04,37.94,38.00]},{ x:'08/08/2024',y:[37.75,37.76,37.60,37.63]},{ x:'08/09/2024',y:[37.36,37.41,37.19,37.37]},{ x:'08/12/2024',y:[37.50,37.70,37.50,37.68]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00754b Daily 股市資訊", align: "left", style: { fontWeight: 500 } }, xaxis: { labels: { format: 'dd/MM', } }, yaxis: { tooltip: { enabled: !0 } } }, (chart = new ApexCharts(document.querySelector("#basic_candlestick"), options)).render()), (chart = new ApexCharts(document.querySelector("#1"), options)).render());