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

Web Client Config options: where is the JSON file located #63

Open
edgarchikomo opened this issue Mar 27, 2018 · 3 comments
Open

Web Client Config options: where is the JSON file located #63

edgarchikomo opened this issue Mar 27, 2018 · 3 comments

Comments

@edgarchikomo
Copy link

I would like to begin by saying Kudos for such an excellent project.

My query is on the configuration JSON file. I can't find this file. Where is it located in the project directory so that i make the customizations i want:

What i want to do is use different colors for items in a category. For instance, taking the category of phones as an example, i want the records for iphone to be in a given color and for android phones to be displayed in another color. Kindly assist me in making this changes.

@salivian
Copy link
Collaborator

salivian commented Mar 27, 2018 via email

@edgarchikomo
Copy link
Author

Thanks Salivian. I was able to view the configuration and tweak it.

On another issue, kindly advise how i can display data points like, for example, the device dimension where i want the data for Android to be displayed in Reds and iPhone displayed in Blues on the same map. How do i achieve this implementation - is there logic i need to add for that.

@salivian
Copy link
Collaborator

salivian commented Apr 9, 2018

You may specify that as 2 different layers (one in red and one in blue) in the config file
eg. if you name your nanocube as phone.

"nanocube": {
"phone": {
"url": "http://localhost:29512"
}
}

....

},
"datasrc": {
"android": {
"expr": "phone[type=='iphone']",
"colormap": "Blues"
},
"iphone": {
"expr": "phone[type=='android']",
"colormap": "Reds"
}
}

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

No branches or pull requests

2 participants