Как добавить эффект градиента в контрольный список. js Библиотека - PullRequest
0 голосов
/ 16 апреля 2020

Я просматривал там документацию по API, но мне не удалось найти способ добавить эффект градиента на столбцы диаграммы. Документация по API Ссылка:

Мои настройки:

var options = {
        axisX: {
            // On the x-axis start means top and end means bottom
            position: 'end',
            showGrid: false,
            labelInterpolationFnc: function(value) {
                return (value) + "%";
            },
        },
        axisY: {
            // On the y-axis start means left and end means right
            position: 'start',
            // offset: 0,
            scaleMinSpace: 40,
        },
        // reverseData: true,
        horizontalBars: true,
        fullWidth: true,
        low: 0,
        stackBars: true ,
        height:'300px',
    };
...