edit

Draw River

SQL

SELECT
create_date as dt,
count() as cnt,
dictGetString('geonames','name_ru',toUInt64( geoname_id ) ) as  name
FROM
sessions

WHERE

create_date>=today()-30

GROUP BY dt,name
ORDER BY cnt desc

LIMIT 3 BY dt

LIMIT 1601

DRAW_RIVER
{
            x          :'dt',
            y          :'cnt',
            name       :'name',
            title      :'title chart'

}

DrawRiver

RAW

EchartAPI: * series-themeRiver * singleAxis

Example series[0].itemStyle.emphasis.opacity=number See api

DRAW_RIVER
{
            x          :'dt',
            y          :'cnt',
            name       :'name',
            title      :'title',
            raw:{
                series:[
                {

                    itemStyle:{
                        emphasis:{

                            opacity:0.1
                        }
                    }

                }
                ]
            }

}