Jump to content
JChartFX Community
  • 0

Not all chart types working


Question

Hi,

I've created a select list so that people can change the chart type on the fly.  However a number of the charts just don't display and I have no clue as to why:

http://www.hannent.co.uk/jchartfx/test6.html

Currently I get nothing for:

  • Area Curve
  • Candlestick
  • Open High Low Close
  • High Low Close
  • Pareto
  • Pyramid
  • Radar
  • Contour
  • Surface
Any advice would be most helpful?
Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

A little progress has been made, since I posted that I found out that I needed to add more of the JavaScript files to the html.  This has enabled some but not all charts to start functioning, my example still fails with:

  • Area Curve
  • Candlestick
  • Open High Low Close
  • High Low Close
  • Pareto
  • Contour

And Pyramid is only showing the second series pyramid...

Link to post
Share on other sites
  • 0





Phil,



When
reporting issues, please narrow your code down to the
smallest reproducible test case. The idea here is to isolate the cause of the
problem
by commenting out any non-chart related customized code.



Some gallery
types require a specific number of series like: Candlestick, Open High Close
and other financial galleries. Please make sure you pass the required data to
properly render a chart.



I
tried your sample, and after commenting out some customized JavaScript and CSS
(elmstone.css, elmstone.js, onclick, etc), I was able to render the galleries
you previously reported as problematic.



In some
galleries, you have to disable View3D Property in order to render the chart. So
please try disabling this property when necessary.



Regarding
the Pyramid Gallery issue, it seems to be related to the data you are passing
to the chart. There are multiple values equal to zero that can be rendered in a
different gallery (e.g. Lines) but does not automatically apply to a Pyramid
chart.



We are wrapping
a sample showing different financial gallery types, so you will be able to use
it as groundwork for your tests. I

Link to post
Share on other sites

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...