Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

How to get rid from vertical line as well top title , i need only bar chart , i am using google-chart lib , to visualize data ,

            function drawChart() {
            var data = google.visualization.arrayToDataTable([
                ['Type', 'uk', 'China', {role:'annotation'} ],
                ['', 8478000, 1251478, ''],

            ]);

            var view = new google.visualization.DataView(data);
            view.setColumns([0,
                            1,{calc: "stringify", sourceColumn:1, type: "string", role: "annotation" },
                            2,{calc: "stringify", sourceColumn:2, type: "string", role: "annotation" }
                        ]);

            var options = {
                height: 100,
                legend: {position:'top', maxLines: 1},
                bar: {groupWidth: '35%' },
                isStacked: 'percent',
                    hAxis: {
                        minValue: 0,
                        ticks: []
                    },
            
                backgroundColor:'#fff',

                };
      
question from:https://stackoverflow.com/questions/65928903/how-to-remove-vertical-line-in-google-bar-chart

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
217 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...