<commit_before>// 基于准备好的dom，初始化echarts实例
var myChart = echarts.init(document.getElementById('main'));

option = {
    backgroundColor: '#000000',
    color: ['#ff0','#0f0', '#61a0a8', '#d48265', '#91c7ae','#749f83',  '#ca8622', '#bda29a','#6e7074', '#546570', '#c4ccd3'],
    title: {
        text: '交易信号',
        left: 0,
        textStyle: {
            color: '#ffdf00'
        }
    },
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'line'
        }
    },
    legend: {
        data: [
            '日K',
            {
                name: 'UP_LINE'
            },
            {
                name: 'DOWN_LINE'
            }
        ],
        selectedMode: false,
        textStyle: {
            color: '#fff'
        }
    },
    xAxis: {
        type: 'category',
        data: [],
        axisLine: {
            lineStyle: {
                color: '#9c0000'
            }
        },
        splitLine: {show: false}
    },
    yAxis: {
        type: 'value',
        splitLine: {
            lineStyle: {
                color: '#9c0000'
            }
        },
        axisLine: {
            lineStyle: {
                color: '#9c0000'
            }
        },
        scale: true
    },
    dataZoom: [
        {
            show: true,
            type: 'slider',
            start: 80,
            end: 100
        }
    ],
    series: [
        {
            name: '日K',
            type: 'candlestick',
            data: [],
            itemStyle: {
                normal: {
                    color: '#000000',
                    color0: '#6be7ff',
                    borderColor: '#ff4142',
                    borderColor0: '#6be7ff'
                }
            },
            markLine: {
                symbol: ['none', 'none'],
                label: {
                    normal: {show: false},
                    emphasis: {show: false}
                },
                lineStyle: {
                    normal: {
                        width: 3,
                        type: 'solid',
                        color: '#fff'
                    }
                },
                data: []
            }
        },
        {
            name: 'UP_LINE',
            type: 'line',
            lineStyle: {normal: {width: 1, color: '#ff0'}},
            showSymbol: false,
            data: []<commit_msg>修改图例样式<commit_after>// 基于准备好的dom，初始化echarts实例
var myChart = echarts.init(document.getElementById('main'));

option = {
    backgroundColor: '#000000',
    color: ['#ff0','#0f0', '#61a0a8', '#d48265', '#91c7ae','#749f83',  '#ca8622', '#bda29a','#6e7074', '#546570', '#c4ccd3'],
    title: {
        text: '交易信号',
        left: 0,
        textStyle: {
            color: '#ffdf00'
        }
    },
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'line'
        }
    },
    legend: {
        data: [
            '日K',
            {
                name: 'UP_LINE'
            },
            {
                name: 'DOWN_LINE'
            }
        ],
        selectedMode: false,
        textStyle: {
            color: '#fff'
        }
    },
    xAxis: {
        type: 'category',
        data: [],
        axisLine: {
            lineStyle: {
                color: '#9c0000'
            }
        },
        splitLine: {show: false}
    },
    yAxis: {
        type: 'value',
        splitLine: {
            lineStyle: {
                color: '#9c0000'
            }
        },
        axisLine: {
            lineStyle: {
                color: '#9c0000'
            }
        },
        scale: true
    },
    dataZoom: [
        {
            show: true,
            type: 'slider',
            start: 0,
            end: 100
        }
    ],
    series: [
        {
            name: '日K',
            type: 'candlestick',
            data: [],
            itemStyle: {
                normal: {
                    color: '#000000',
                    color0: '#6be7ff',
                    borderColor: '#ff4142',
                    borderColor0: '#6be7ff'
                }
            },
            markLine: {
                symbol: ['none', 'none'],
                label: {
                    normal: {show: false},
                    emphasis: {show: false}
                },
                lineStyle: {
                    normal: {
                        width: 3,
                        type: 'solid',
                        color: '#fff'
                    }
                },
                animation: false,
                data: []
            }
        },
        {
            name: 'UP_LINE',
            type: 'line',
            lineStyle: {normal: {width: 1, color: '#ff0'}},
            showSymbol: false,
            data: []
{'fraction_non_alphanumeric': 0.1342534504391468, 'fraction_numerical': 0.03617733166039314, 'mean_word_length': 0.8618139353834177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3900267', 'n_tokens_mistral': 1498, 'n_tokens_neox': 1362, 'n_words': 252}