Closed tobytarczy closed 8 months ago
I am also looking to create a gradient color fill in the vertical bar where the bottom will be deep red and top will be a dark green as part of the visual.
I think have sorted gradient colour through a video, still stuck on setting the yscale range
Hi @tobytarczy, and thanks for your interest in Deneb. Just so you know, this repository tracks the development of Deneb's documentation site, and people do not monitor the issues for active support requests. Please refer to Deneb's support page for places where you can get help from community members on language aspects.
Thank you for your guidance.
Kind Regards,
Toby Tarczy Calvella +44 77991 33349
Calvella Limited, reserves the right to monitor e-mails and any replies sent back. Registered address; Sky View, Argosy Road, East Midlands Airport, Castle Donington, Derby DE74 2SA. Registered in England and Wales, Company No. 6052142; Vat Reg. No 894273877.
From: Daniel Marsh-Patrick @.> Sent: Sunday, March 3, 2024 9:15 PM To: deneb-viz/deneb-viz.github.io @.> Cc: Toby Tarczy @.>; Mention @.> Subject: Re: [deneb-viz/deneb-viz.github.io] Using Vega how to set the the min yscale based on a data field. (Issue #52)
Hi @tobytarczyhttps://github.com/tobytarczy, and thanks for your interest in Deneb. Just so you know, this repository tracks the development of Deneb's documentation site, and people do not monitor the issues for active support requests. Please refer to Deneb's support pagehttps://deneb-viz.github.io/support for places where you can get help from community members on language aspects.
— Reply to this email directly, view it on GitHubhttps://github.com/deneb-viz/deneb-viz.github.io/issues/52#issuecomment-1975328075, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ4E4Q7565IE2G7FRG2OCJ3YWOHFHAVCNFSM6AAAAABD6AZERKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVGMZDQMBXGU. You are receiving this because you were mentioned.Message ID: @.***>
I have tried a few variations on this, firstly in Vega-Lite and all things started to point to Vega due the complexity of what I am trying to do. I should say I am not a coder but do know how to use ChatGPT to develop complex Power BI dashboards. I am developing a vertical gauge/bar visual that is unique to trading FX accounts, and for the most part I can create it using third party visual but it is not 100% so I turned to Vega in the end and have managed to create the visual and now what I would like to do is set the min y axis level to be based on a measure and data field called "MLL 8%", (Maximum Limit Loss 8%), so if I have an account that is $100k that lowest level before the account is closed is $92,000, and this should be min value or to the nearest 10,000, "90,000". This way the visual will be useable for the trader. I have tried various different techniques using Vega and Deneb which hasn't worked. The key data fields that are being used in the visual include: "Starting Balance", "Sum of Profit Target Value", "MLL 8%", "WLL 5%", and "CumulativeBalance". I have included a screenshot of the dashboard using a third party visual which is not quite right and looks terrible, along with visual that I have created so far with Vega, I should note that this visual is per "login ID" trading account.
I would appreciate any helping in getting the scale set to the "MLL 8%". This is dynamic as if a trader has a $25K account this different as it would be for any "Starting Balance".
Traders Account Profile.deneb.json
I can be reached on toby.tarczy@calvella.com
Many thanks in advance
Toby Tarczy