Hello I have been searching through the documentation and I didn't find any way to fill the area between two line series with a color I'm looking for something like the image below:
Actually, this feature is not available yet and there is a request for this feature on their GitHub :
https://github.com/tradingview/lightweight-charts/issues/140
Related
Is there any software that allows designing the icon of a Modelica component, and then copy into Dymola?
It is hard to draw the picture in Dymola.
A short summary of the answers, there is 4 software support this task:
OMEdit;
MoVE;
InkSpace;
PowerPoint;
Yes, there is MoVE, but it seems development is stopped.
For some tasks OMEdit is better. Properties of graphical elements are nicely presented in a single dialog and you can easily edit the points of lines and polygons.
As an alternative you can use svg and png files, which can be nicely drawn with Inkscape.
Another option for creating icons and info-graphics is to make them in standard packages for drawing, save them in a proper format (e.g., .png) and then use them. This is what I do with my library.
One way I have done it is with powerpoint and wrote a macro that auto-names them: https://github.com/ORNL-Modelica/TRANSFORM-Library/blob/master/TRANSFORM/Resources/Images/Icons.pptm
Next to that is another one for info slides.
Another one worth a go is something like Inkscape (https://inkscape.org/) and then you can run a command line terminal to loop through them all and generate png/jpgs.
The following platform-independent method, i.e. works with arbitrary Modelica simulation environments, is particularly useful for sophisticated icons:
Use LibreOffice Draw for drawing an Icon
For each drawing, produce an image file in one of the desired format according to quality requirements
Include the image file within standard annotation for icons
Here is an example from the library GenKinetics:
An Icon draw in *.gif format: Inhibition Icon
A component employing the Icon: Port_I.mo
I want to make a simple panel with just:
Text as a link to another dashboard
Background as traffic light colour based on a metric
Hidden underlying metric (do not want to see it)
Singlestat would be ideal but I can't see how to hide the metric or make text a link. Any ideas?
Thank you!
I have found a solution:
Use the SVG plugin (https://grafana.com/plugins/marcuscalidus-svg-panel)
Create an SVG rectangle with the text you want (eg. Google drawing & export)
Include a link in the SVG code (https://alligator.io/svg/hyperlinks-svg/)
Change rectangle colour based on metrics (code inside the Javascript area):
To find the metrics to add to javascript:
Use console.log(ctrl) to see what metrics are in your panel
The one I wanted was in ctrl.series[0].stats.current
..............................................................................
My javascript code:
var S = Snap(svgnode);
var c = S.select("#rect");
if (ctrl.series[0].stats.current > 10)
c.attr({"fill": "#DAF7A6"});
..............................................................................
Good website for an example.
https://community.hiveeyes.org/t/how-to-visualize-2-dimensional-temperature-data-in-grafana/974/6
Youtube video with something similar:
https://www.youtube.com/watch?v=aVS13Q36D34
In GitHub it's possible to suggest code changes through inline comments in pull requests. But I always get the following error message: "suggestions cannot be applied while viewing a subset of changes".
Is there also a way to manually suggest changes in a comment?
Example: screenshot of problem
Besides the button you can also actually use syntax to make a suggestion. You can do it like:
```suggestion
this is my new suggestion
```
How-to code suggest to multiple lines
Apply a code suggestion to multiple lines by highlight dragging the code lines. Starting drag to the right of the line numbers where the comment plus icon appears.
Verify by seeing "Commenting on lines +129 to +145" (or similar) text indicating the multiple line range you are commenting on.
Now the code suggestion will replace more than one line!
I've been looking for a javascript library like highcharts or rgraph which contains the ability to add a report filter.
Does anyone know if there is one?
If 'report filtering' = show/hide certain data from the chart. Check this out. i haven't used it myself but looks good: http://code.shutterstock.com/rickshaw/
Also this one looks great too: http://nvd3.org - also powered by the awesome d3.js library
I've included a very simple html example that almost works. It is a very plain implementation of this great color picker. But it doesn't quite work as advertised. I only get a single blue box and I can pick blue shades. But not the gradient or the outer ring.
Wait! I just realized that the outer ring is there, and I can change the colors with it. But its invisible! Weird....
Can anybody show me how to get the whole thing to work?
http://bizzocall.com/farbPicker.html
Thanks in advance!
the images for it are not pointing to the correct uri. http://bizzocall.com/css/marker.png returns a 404; point your images to the correct file and you should be straight
I have the farbtastic color picker working really well now. Just for those of you who want an example to take apart and look at, here's a link. The sytax of how the farbtastic function is called to send the color to numerous items on the page is the tricky part. But, its working here. Just look at the source...
http://bizzocall.com/cp-BizzoActiveButton.php