Jump to content
JChartFX Community
  • 0
tpham

Remove line shadow?

Question

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)

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...