Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brunel 2.6: No line chart shown when the color field only has one unique value. #316

Open
cjiang-ibm opened this issue Sep 20, 2018 · 0 comments
Assignees
Milestone

Comments

@cjiang-ibm
Copy link

To replicate the problem, use this Brunel link: http://brunelvis.mybluemix.net/try.html

  1. Paste this data to the Data Table tab:
    mpg,cylinders,engine,horsepower,weight,acceleration,year,origin,name
    18,8,307,130,3504,12,70,USA,chevrolet chevelle malibu
    15,8,350,165,3693,11.5,70,American,buick skylark 320
    18,8,318,150,3436,11,70,American,plymouth satellite
    16,8,304,150,3433,12,70,American,amc rebel sst
    17,8,302,140,3449,10.5,70,American,ford torino
    15,8,429,198,4341,10,70,American,ford galaxie 500
    14,8,454,220,4354,9,70,American,chevrolet impala
    14,8,440,215,4312,8.5,70,American,plymouth fury iii
    14,8,455,225,4425,10,70,USA,pontiac catalina

Syntax: line x(weight) y(mpg) color(origin:[red, black])
You will see this line chart as expected:
image

  1. replace field "origin" value in the first row and the last row in above data with "American" so all the values in field "origin" are "American" and run the following syntax:
    line x(weight) y(mpg) color(origin:[black])

Here is what I'm getting:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants