# ECG line render is not reflecting the heart rate in Unity 3D asset example scene

**URL:** https://discourse.kitware.com/t/ecg-line-render-is-not-reflecting-the-heart-rate-in-unity-3d-asset-example-scene/339
**Category:** Pulse Physiology Engine
**Created:** [August 29, 2019, 10:24pm UTC](https://discourse.kitware.com/t/ecg-line-render-is-not-reflecting-the-heart-rate-in-unity-3d-asset-example-scene/339 "2019-08-29T22:24:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![raj](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/r/c0e974/32.png) [@raj](https://discourse.kitware.com/u/raj)
#### Post date: [August 29, 2019, 10:24pm UTC](https://discourse.kitware.com/t/ecg-line-render-is-not-reflecting-the-heart-rate-in-unity-3d-asset-example-scene/339/1 "2019-08-29T22:24:54Z")

</div>

Hi, I am trying to use the unity3d asset and went through the sample scenes. I am able to change the heart rate at runtime by changing the mutiplier value in the pluseDataNumberRender. But the ECG line render is not reflecting the heart rate. How do I change the ecg lineRenderer to match the heartrate.  
Thanks.

---

<div class="post-metadata">

### Author: ![alexis.girault](https://discourse.kitware.com/user_avatar/discourse.kitware.com/alexis.girault/32/75_2.png) [@alexis.girault](https://discourse.kitware.com/u/alexis.girault)
#### Post date: [November 5, 2019, 5:52pm UTC](https://discourse.kitware.com/t/ecg-line-render-is-not-reflecting-the-heart-rate-in-unity-3d-asset-example-scene/339/2 "2019-11-05T17:52:35Z")

</div>

Hello @raj and welcome to the Pulse community! Thanks for asking your question here.

The multiplier in the `pulseDataNumberRender` is just to edit how to display the incoming data. It’s usually helpful to multiple by `100` to display percentages or to reformat information in a different unit. However, it is not actually changing the incoming data, only how it is rendered. For the `lineRenderer`, there aren’t really reasons to want to scale the incoming values, only defining the scale of the X and Y axis makes sense to make sure you’re visualizing your graph in the best space.

If you want your `PulseData` to change, then you need the actual `PulseDataSource` to provide different values, whether it’s with the random number generator, a CSV reader, of a pulse engine that runs a simulation.

I hope this answers your question, but please let us know there are more things you need help with.
