You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/03/11 03:54:06 UTC

[GitHub] [incubator-echarts] Capactity opened a new issue #12267: themeRiver河流图,当只有一组数据时(仅有一个时间点数据),legend第一个不显示颜色。

Capactity opened a new issue #12267: themeRiver河流图,当只有一组数据时(仅有一个时间点数据),legend第一个不显示颜色。
URL: https://github.com/apache/incubator-echarts/issues/12267
 
 
   
    const legendData = ["test1", "test2"];
    const seriesData = [
        ["2020", 5, "test1"],
        ["2020", 51, "test2"],
    ];
   
   
    const option = {
        
        title: {
            text: '平台各模块访问量',
            subtext: '',
            x: 'center',
            y: 'bottom',
        },
        tooltip: {
            trigger: 'axis',
   
            textStyle: {
                align: 'left'
            }
   
        },
   
   
        legend: {
            data: legendData,
        },
   
        singleAxis: {
            top: '30%',
            bottom: '15%',
            type: 'time',
   
        },
   
        series: [{
            type: 'themeRiver',
   
            data: seriesData,
            splitNumber: 30,
            label: {
                normal: {
                    show: false
                }
            }
        }]
    };
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12267: themeRiver河流图,当只有一组数据时(仅有一个时间点数据),legend第一个不显示颜色。

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12267: themeRiver河流图,当只有一组数据时(仅有一个时间点数据),legend第一个不显示颜色。
URL: https://github.com/apache/incubator-echarts/issues/12267#issuecomment-599924317
 
 
   @Capactity Please provide a demo for the issue either with https://jsfiddle.net/ovilia/n6xc4df3/ or https://gallery.echartsjs.com/editor.html.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org