# How to change the first sight of discover Visualize

(xu) #1

It show in histogram , how to change it to pie .
I found the code in kibana/public/discover/components/field_chooser/field_chooser.js Line 161
var type = isGeoPoint ? 'tile_map' : 'histogram';
The default key is histogram ,I change histogram to pie. But when I restart the kibana ,It not work .

Any ideas what is going on?

#2

try clearing the cache and restart again, sometimes it works,
Considering if your logic is correct.

(xu) #3

I use WebStorm in windows ,But I don't found clear cache on WebStorm . So I clean the workspace and reimport it , but it not work .

(system) #4