# How can I connect points with null values in a line chart?

**URL:** <https://discuss.elastic.co/t/how-can-i-connect-points-with-null-values-in-a-line-chart/306200>\
**Category:** Kibana\
**Created:** [June 2, 2022, 7:47am UTC](https://discuss.elastic.co/t/how-can-i-connect-points-with-null-values-in-a-line-chart/306200 "2022-06-02T07:47:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cusis\_Eel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cusis_eel/32/106504_2.png) [@Cusis\_Eel](https://discuss.elastic.co/u/Cusis_Eel)\
**Post date:** [June 2, 2022, 7:47am UTC](https://discuss.elastic.co/t/how-can-i-connect-points-with-null-values-in-a-line-chart/306200/1 "2022-06-02T07:47:47Z")

</div>

![line](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dd7000b9ba60a79581d867d82227bd1b20cd79ea.png)

please help this  
thanks

kibana 7.10.1

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [June 2, 2022, 8:54am UTC](https://discuss.elastic.co/t/how-can-i-connect-points-with-null-values-in-a-line-chart/306200/2 "2022-06-02T08:54:39Z")

</div>

What kind of visualizations do you use?  
If Lens of 7.9 or higher, there are Missing values option to fill gap.

> <https://github.com/elastic/kibana/pull/69820>
>
> Fixes https://github.com/elastic/kibana/issues/68403
> 
> This PR exposes the \`ela…stic-charts\` fitting functions (except for "Explicit") as a chart-level setting of the xy-chart.
> 
> \<img width="968" alt="Screenshot 2020-06-25 at 12 04 09" src="https://user-images.githubusercontent.com/1508364/85699794-1800fe00-b6dc-11ea-930d-50febe9654eb.png"\>
> 
> The popover for now only contains a select for the fitting function, other options like color palette will be part of the same popover in a later iteration
> \<img width="431" alt="Screenshot 2020-06-26 at 09 42 22" src="https://user-images.githubusercontent.com/1508364/85833063-6f14da80-b791-11ea-9278-b8c68e711e9c.png"\>
> 
> 
> If there is no line or area series, the select will be disabled (state will still be carried along)
> \<img width="464" alt="Screenshot 2020-06-26 at 09 42 45" src="https://user-images.githubusercontent.com/1508364/85833078-73d98e80-b791-11ea-8e2c-806bf18cbb7f.png"\>
> 
> 
> For Pie charts there is no popover menu in the toolbar (if it gets added later because of other features, it won't contain the select at all)
> 
> \## Architecture
> 
> On an expression level, there is a new optional string argument \`fittingFunction\` on the \`lens\_xy\_chart\`, taking all available options. If no value is provided, it defaults to \`None\`, maintaining the old behavior - this means no migration is necessary, saved Lens visualizations will simply run an expression without a \`fittingFunction\` argument.

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/4/84c97108d746e8ae5e1a2ac25e946b1f999a5f9a.png)

---

<div class="post-metadata">

**Author:** ![Cusis\_Eel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cusis_eel/32/106504_2.png) [@Cusis\_Eel](https://discuss.elastic.co/u/Cusis_Eel)\
**Post date:** [June 3, 2022, 2:08am UTC](https://discuss.elastic.co/t/how-can-i-connect-points-with-null-values-in-a-line-chart/306200/3 "2022-06-03T02:08:51Z")

</div>

Thank you for your reply.  
Im using visualizations 'Line'

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 1, 2022, 2:09am UTC](https://discuss.elastic.co/t/how-can-i-connect-points-with-null-values-in-a-line-chart/306200/4 "2022-07-01T02:09:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
