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/30/2024',y:[34.78,34.81,34.74,34.80]},{ x:'05/02/2024',y:[34.80,34.86,34.77,34.83]},{ x:'05/03/2024',y:[34.83,34.83,34.72,34.72]},{ x:'05/06/2024',y:[34.74,34.92,34.74,34.92]},{ x:'05/07/2024',y:[34.90,35.05,34.90,35.05]},{ x:'05/08/2024',y:[35.12,35.12,35.07,35.08]},{ x:'05/09/2024',y:[35.01,35.01,34.97,34.97]},{ x:'05/10/2024',y:[35.10,35.13,35.09,35.11]},{ x:'05/13/2024',y:[34.94,35.04,34.94,35.03]},{ x:'05/14/2024',y:[35.03,35.05,35.02,35.04]},{ x:'05/15/2024',y:[35.08,35.08,34.93,34.94]},{ x:'05/16/2024',y:[35.03,35.16,35.03,35.08]},{ x:'05/17/2024',y:[35.08,35.16,35.08,35.15]},{ x:'05/20/2024',y:[35.05,35.06,35.02,35.04]},{ x:'05/21/2024',y:[35.03,35.04,35.00,35.04]},{ x:'05/22/2024',y:[35.10,35.12,35.07,35.08]},{ x:'05/23/2024',y:[35.08,35.09,35.01,35.01]},{ x:'05/24/2024',y:[34.95,34.95,34.91,34.91]},{ x:'06/11/2024',y:[35.21,35.22,35.17,35.20]},{ x:'06/12/2024',y:[35.32,35.34,35.30,35.31]},{ x:'06/13/2024',y:[35.47,35.48,35.45,35.47]},{ x:'06/14/2024',y:[35.69,35.75,35.69,35.72]},{ x:'06/17/2024',y:[35.72,35.78,35.72,35.76]},{ x:'06/18/2024',y:[35.75,35.76,35.69,35.73]},{ x:'06/19/2024',y:[35.77,35.82,35.77,35.82]},{ x:'06/20/2024',y:[35.79,35.79,35.72,35.72]},{ x:'06/21/2024',y:[35.68,35.70,35.68,35.69]},{ x:'06/24/2024',y:[35.69,35.76,35.69,35.75]},{ x:'06/25/2024',y:[35.80,35.85,35.80,35.83]},{ x:'06/26/2024',y:[35.87,35.92,35.82,35.90]},{ x:'06/27/2024',y:[35.80,35.80,35.71,35.77]},{ x:'06/28/2024',y:[35.84,35.85,35.73,35.74]},{ x:'07/01/2024',y:[35.46,35.57,35.46,35.57]},{ x:'07/02/2024',y:[35.56,35.56,35.51,35.55]},{ x:'07/03/2024',y:[35.61,35.73,35.61,35.72]},{ x:'07/04/2024',y:[35.74,35.78,35.71,35.71]},{ x:'07/05/2024',y:[35.70,35.70,35.59,35.64]},{ x:'07/12/2024',y:[36.09,36.13,36.04,36.13]},{ x:'07/15/2024',y:[36.21,36.26,36.16,36.25]},{ x:'07/16/2024',y:[36.25,36.25,36.00,36.01]},{ x:'07/17/2024',y:[36.10,36.11,36.07,36.07]},{ x:'07/18/2024',y:[36.07,36.07,36.04,36.05]},{ x:'07/19/2024',y:[36.01,36.16,36.01,36.14]},{ x:'07/22/2024',y:[36.10,36.30,36.09,36.30]},{ x:'07/23/2024',y:[36.21,36.21,36.15,36.16]},{ x:'07/26/2024',y:[36.16,36.17,36.10,36.13]},{ x:'07/29/2024',y:[36.34,36.40,36.34,36.38]},{ x:'07/30/2024',y:[36.41,36.42,36.38,36.38]},{ x:'07/31/2024',y:[36.46,36.54,36.45,36.45]},{ x:'08/01/2024',y:[36.78,36.78,36.53,36.53]},{ x:'08/02/2024',y:[36.79,37.01,36.79,36.92]},{ x:'08/05/2024',y:[37.27,37.48,37.25,37.31]},{ x:'08/06/2024',y:[37.07,37.25,37.07,37.10]},{ x:'08/07/2024',y:[37.00,37.02,36.93,36.94]},{ x:'08/08/2024',y:[36.93,36.93,36.81,36.83]},{ x:'08/09/2024',y:[36.63,36.63,36.46,36.50]},{ x:'08/12/2024',y:[36.53,36.64,36.53,36.61]},{ x:'08/13/2024',y:[36.68,36.72,36.62,36.62]},{ x:'08/14/2024',y:[36.79,36.79,36.65,36.66]},{ x:'08/15/2024',y:[36.72,36.77,36.71,36.72]} ] }], chart: { type: "candlestick", height: 350, toolbar: { show: !1 } }, plotOptions: { candlestick: { colors: { upward: chartCandlestickBasicColors[0], downward: chartCandlestickBasicColors[1] } } }, title: { text: "00695b 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());