Jump to content
JChartFX Community
  • 0

Some bars are invisible on simple bar chart


Pavel
 Share

Question

Hi

I have a bit unusual data source:
items = [ { 

"Date": "11 Jun",

"Crew A": 500,

"Crew B": 600

} , {

"Date": "10 Jun",

"Crew A": 550,

"Crew B": 650 

} , {

"Date": "9 Jun",

"Unknown": 700,

"Unknown": 500 

} ];

I don't see last bars on the chart with "Unknown" key

What I did wrong? 

  • Like 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

For performance reasons we only inspect the first object to query for its properties, so from our point of view your data source has 3 "fields": Date, CrewA and CrewB. So we create a chart with 3 points but for the last point the values for both series (CrewA and CrewB) are hidden/not shown.

JuanC

Link to comment
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...
 Share

×
×
  • Create New...