Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Allow set an orientantion and displayMode for BarGuage #274

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pkalitowski
Copy link

Hi,

In the bar_gauge_panel.libsonnet i did not see any option to set an orientation or displayMode to configure it, so adding it

@insignias
Copy link

@melhir : Could you please update to configure other values in options as well. Something like:
params:
values=false,
calcs=["mean"],
fields="",
orientation="auto",
displayMode="gradient",
showUnfilled=true,

def:
options: {
reduceOptions: {
values: values,
calcs: calcs,
fields: fields,
},
orientation: orientation,
displayMode: displayMode,
showUnfilled: showUnfilled,
},

@pkalitowski
Copy link
Author

@melhir : Could you please update to configure other values in options as well. Something like:
params:
values=false,
calcs=["mean"],
fields="",
orientation="auto",
displayMode="gradient",
showUnfilled=true,

def:
options: {
reduceOptions: {
values: values,
calcs: calcs,
fields: fields,
},
orientation: orientation,
displayMode: displayMode,
showUnfilled: showUnfilled,
},

Done :).

@CLAassistant
Copy link

CLAassistant commented Jun 15, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.

❌ Przemyslaw Kalitowski
❌ melhir


Przemyslaw Kalitowski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants