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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×