https://signoz.io logo
#support
Title
# support
r

Romario Lopez C

05/10/2023, 7:10 PM
Hello, is there way to customize the graph? How to show 0 values, or how to smooth the graph
Example, this dot. How can I show that is a spike from 0 to the value and then back to 0?
s

Srikanth Chekuri

05/11/2023, 1:45 AM
How can I show that is a spike from 0 to the value and then back to 0?
I don’t see a 0 value. The dot you mentioned shows 250ms. How is it a spike from zero value?
r

Romario Lopez C

05/11/2023, 7:58 PM
0 to 285ms to then 0 again
@Srikanth Chekuri
s

Srikanth Chekuri

05/16/2023, 7:36 AM
0 to 285ms to then 0 again
The graph is based on the data returned. The response doesn’t show such spikes if there is no zero value. For instance, take the following two kinds of responses.
Copy code
[t1, 100], [t2, 250], [t3, 180], [t4, 120], [t5, 230]
vs
Copy code
[t1, 100], [t2, 250], [t3, 0], [t4, 180], [t5, 120], [t6, 0], [t7, 230]
There will be no spike from zero and back for the first data. Because the data says, it never went to zero.
r

Romario Lopez C

05/16/2023, 2:21 PM
Hmm interesting, maybe coalesce null to 0? Not sure 🤔
s

Srikanth Chekuri

05/16/2023, 3:33 PM
Do you have null values in the response?