# Chart code editing and options for Markpoint

**URL:** <https://community.openhab.org/t/chart-code-editing-and-options-for-markpoint/154019>\
**Category:** Beginners\
**Created:** [February 19, 2024, 3:20pm UTC](https://community.openhab.org/t/chart-code-editing-and-options-for-markpoint/154019 "2024-02-19T15:20:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alda1](https://community.openhab.org/letter_avatar_proxy/v4/letter/a/a6a055/32.png) [@alda1](https://community.openhab.org/u/alda1)\
**Post date:** [February 19, 2024, 3:20pm UTC](https://community.openhab.org/t/chart-code-editing-and-options-for-markpoint/154019/1 "2024-02-19T15:20:34Z")

</div>

Hi,  
If found, that I can add into chart a markpoints for min and max values when I will edit a chart code :

```auto
        markPoint:
          data:
            - type: min
              name: min
            - type: max
              name: max

```

Question is what else I can add. Commands are the same like here ? :

[Documentation - Apache ECharts](https://echarts.apache.org/en/option.html#series-line.markPoint.data)

I have a year chart. Is it possible add a markpoint for actual Month or accordint to month name ?

Thank you

---

<div class="post-metadata">

**Author:** ![JustinG](https://community.openhab.org/user_avatar/community.openhab.org/justing/32/55948_2.png) [@JustinG](https://community.openhab.org/u/JustinG)\
**Post date:** [February 19, 2024, 3:41pm UTC](https://community.openhab.org/t/chart-code-editing-and-options-for-markpoint/154019/2 "2024-02-19T15:41:24Z")

</div>

It is possible to add most eCharts options to the oh-charts. As long as you understand how to convert back and forth from the yaml syntax of the oh widgets to arrays, objects, and other types referenced in the eCharts you should be able to do what ever you need.

> [@alda1](#):
>
> I have a year chart. Is it possible add a markpoint for actual Month or accordint to month name ?

I’ve never worked with the markpoint setting, so I don’t know the details, but I’m sure it’s possible.

---

<div class="post-metadata">

**Author:** ![alda1](https://community.openhab.org/letter_avatar_proxy/v4/letter/a/a6a055/32.png) [@alda1](https://community.openhab.org/u/alda1)\
**Post date:** [February 19, 2024, 8:20pm UTC](https://community.openhab.org/t/chart-code-editing-and-options-for-markpoint/154019/3 "2024-02-19T20:20:19Z")

</div>

Thanks,  
Hope there is any user which knows how to define a markPoint which shows a value for a Month which I define.
