# Why my tooltips won't show up on bullets?

**URL:** <https://forum.inductiveautomation.com/t/why-my-tooltips-wont-show-up-on-bullets/32944>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 9, 2020, 8:58pm UTC](https://forum.inductiveautomation.com/t/why-my-tooltips-wont-show-up-on-bullets/32944 "2020-03-09T20:58:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beaudoin.stephane](https://avatars.discourse-cdn.com/v4/letter/b/8edcca/32.png) [@beaudoin.stephane](https://forum.inductiveautomation.com/u/beaudoin.stephane)\
**Post date:** [March 9, 2020, 8:58pm UTC](https://forum.inductiveautomation.com/t/why-my-tooltips-wont-show-up-on-bullets/32944/1 "2020-03-09T20:58:54Z")

</div>

Hi, I am trying to figure out why my tooltips are not showing on a xychart in perspective.

Also I am wondering if its a problom of bool values. The bool values of props in the IDE are in lowercase (true/false) while in python it’s Uppercased (True, False). I am a bit confused in the way writing json/python object structure.

Here is pasted “serie json” props. This is called from within a function that returns the serie object then the single serie is appended to the series array.

```python
def getSerieWithColor(layerId, hexColor):
serie = {
		'name':'Layer ' + str(layerId),
		'label':'Layer ' + str(layerId),
		'defaultState':{'visible':True},
		'data':{
			'source':'data_layer' + str(layerId),
			'x':'GANTRY_POSITION',
			'y':'CARRIAGE_POSITION'
		},
		'xAxis':'x_axis_gantry_pos',
		'yAxis':'y_axis_carriage_pos',
		'zIndex':layerId,
		'render':'line',
		'line':{
			'appearance':{
				'stroke':{'width':0},
				'fill':{'color':hexColor, 'opacity':0},
				'bullets':[{
							'enabled':True,
							'render':'circle',
							'width':10,
							'height':10,
							'tooltip':{
								'enabled':True,
								'text':'hello'
							}
						}]	
			}
		}
return serie

```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 9, 2020, 9:14pm UTC](https://forum.inductiveautomation.com/t/why-my-tooltips-wont-show-up-on-bullets/32944/2 "2020-03-09T21:14:51Z")

</div>

> [@beaudoin.stephane](#):
>
> Also I am wondering if its a problom of bool values. The bool values of props in the IDE are in lowercase (true/false) while in python it’s Uppercased (True, False). I am a bit confused in the way writing json/python object structure.

I can't speak to the actual problem, but I can help with this; yes, the way you've written your script is correct. Python's `True/False` will be automatically encoded into JSON's `true/false` when the Python dictionary is parsed into a JSON structure.
