How to change color, thickness of crossair cursor?

  • What Grafana version and what operating system are you using? grafana v13.2.1 os Manjaro

  • What are you trying to achieve? Change color ans thickness of crossair cursor in time series panel

  • How are you trying to achieve it? Not found any setting

  • What happened? Nothing can change

  • What did you expect to happen? Find cursor settings

  • Can you copy/paste the configuration(s) that you are having problems with?


Skip to main content
Grafana
Grafana

    Bookmarks

    Starred

    Dashboards

        Playlists

        Snapshots

        Library panels

        Shared dashboards

        Recently deleted

    Explore

    Drilldown

        Metrics

        Logs

        Traces

        Profiles

    Alerting

    Connections

    Administration

        General

            Stats and license

            Default preferences

            Settings

            Organizations

            Migrate to Grafana Cloud

            Provisioning

        Plugins and data

        Users and access

        Authentication

        Advisor

    Dashboards
    TEST
    Internet connection Copy

Search...
ctrl+k
User avatar
Last 2 days
Refresh
15m
Edit
Download
99.2 Mb/s
Upload
19.8 Mb/s
Speedtest Ping
5.27 ms
Speedtest Graph

    Download
    Upload

HTTP Request Duration

    https://www.cloudflare.com
    https://www.github.com
    https://www.google.com

Speedtest Jitter
HTTP Request Duration - Connect
HTTP Request Duration - Processing
HTTP Request Duration - Resolve
HTTP Request Duration - TLS
HTTP Request Duration - Transfer
Uptime
Inspect: Speedtest Graph
Data
Stats
Query
JSON
Select source
Panel Spec
Apply
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were. No errors

  • Did you follow any online instructions? If so, what is the URL? No instructions

The horizontal and vertical lines tied to the cursor are almost invisible,

How can I change these lines?

There is no setting for that in the Time series panel options. The only styling-adjacent options in the current panel docs are the axis color (Text or Series) and the cursor/tooltip behavior at dashboard level. The crosshair itself is drawn by the panel using the active theme, so its color and thickness cannot be changed per panel. If this is about readability on a particular background, adjusting the theme contrast or opening a feature request describing your use case would be the way to go.

Worth adding: the crosshair lines are drawn on the uPlot canvas overlay rather than as DOM elements, so a CSS override targeting them generally won’t work either. That means the practical options really are limited to theme/contrast changes, or tracking the existing GitHub feature request for configurable cursor styling in the Time series panel. If none exists yet, a request with your screenshot and a note about low-contrast backgrounds would help.

Hi @farahdamianheathar94 what is the correct procedure to post a feature request for a panel?

Where I can report? How I can identify the correct panel to report?

Thanks

The built-in panel is Time series (type: "timeseries" in the panel JSON), so this belongs in the grafana/grafana feature-request form.

A title such as Time series: configurable crosshair color and width would identify it clearly. Include Grafana 13.2.1, your screenshot, and the contrast/readability problem. The current template asks why it is needed, what should be added, and who benefits. Search the existing issues for a matching request first; if you find one, add your use case there instead of creating a duplicate.

Hi @mirtobusico,

Feature requests go to the Grafana GitHub repo →

Search the existing requests first → Issues · grafana/grafana · GitHub

Put “Time series panel” in the title, e.g. “Time series panel: configurable crosshair color and thickness”. You don’t need to pick a panel label, because the maintainers add the area/* label when they triage the request.

Fill in the template: what you’d like added (color and thickness options for the cursor lines) and why (low contrast), with your screenshot and Grafana v13.2.1.

In the meantime, the crosshair lines are regular DOM elements (.u-cursor-x and .u-cursor-y), not canvas drawings, so a CSS override in your browser should work. With a user-style extension such as Stylus, limited to your Grafana URL →

.u-cursor-x { border-right: 2px solid #ffffff !important; }
.u-cursor-y { border-bottom: 2px solid #ffffff !important; }

This only applies in your own browser.

Hi @kreout and @infofcc3 I opened the issue here

https://github.com/grafana/grafana/issues/137892