Surajano
Surajano

Reputation: 2688

dataviz: How to set lineWidth property for chart

I am using dataviz lib. for creating chart using Keen-io. The chartType I am using is line and spline when I used

.chartOptions({ curveType: "function", lineWidth: 10 })

I am not able to see the line width change.

Please Help!!

Upvotes: 0

Views: 51

Answers (1)

jwegner
jwegner

Reputation: 7423

It'd be great to see a jsfiddle or something showing your issue. I just created a fiddle using chartOptions and lineWidth, and it seems to be working swimmingly for me.

Fiddle: http://jsfiddle.net/aqbtrxa8/11/

Code:

client.draw(query, el, {
    chartType: "linechart",
    height: 400,
    chartOptions: {
        lineWidth: 10
    }
});

Upvotes: 1

Related Questions