Is there a way to tone down or remove the shadow of a Line gallery in a chart? In my case, when my data set is dense, the jagged lines may become hard to distingush them apart with their shadows shown and overlapping. Thanks for any pointer.
Coffeescript code looks something like below:
@chart = new cfx.Chart()
@chart.getAnimations().getLoad().setEnabled(true)
@chart.create("chart_div_#{uid}")
@chart.getData().setSeries(resp.chartData.numOfSeries)
@chart.getData().setPoints(resp.chartData.numOfPoints)
for series in [0...resp.chartData.numOfSeries]
s = @chart.getSeries().getItem(series)
if series is resp.chartData.numOfSeries-1
s.setGallery(cfx.Gallery.Bar)
s.sendToBack()
else
s.setGallery(cfx.Gallery.Lines)
@chart.recalculateScale()
@chart.setDataSource(resp.chartData.eventData)
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
tpham
Is there a way to tone down or remove the shadow of a Line gallery in a chart? In my case, when my data set is dense, the jagged lines may become hard to distingush them apart with their shadows shown and overlapping. Thanks for any pointer.
Coffeescript code looks something like below:
@chart = new cfx.Chart()
@chart.getAnimations().getLoad().setEnabled(true)
@chart.create("chart_div_#{uid}")
@chart.getData().setSeries(resp.chartData.numOfSeries)
@chart.getData().setPoints(resp.chartData.numOfPoints)
for series in [0...resp.chartData.numOfSeries]
s = @chart.getSeries().getItem(series)
if series is resp.chartData.numOfSeries-1
s.setGallery(cfx.Gallery.Bar)
s.sendToBack()
else
s.setGallery(cfx.Gallery.Lines)
@chart.recalculateScale()
@chart.setDataSource(resp.chartData.eventData)
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.