Echarts line cannot be displayed - reactjs

Echarts Version:4.9.0
There are two lines and four X axes in this picture. The yellow line corresponds to a true hidden X axis and a false displayed X axis above.And the green line corresponds to the lower part.More data on the green line than on the yellow line,but the green line can only display as much data as the yellow line.The last part of the data on the green line cannot be displayed.I want both lines to be fully displayed.Can someone help me?
I read the Echatrsdocuments, but couldn't find a good way.

Related

Is there a formula for correcting RGB in an image based on a sample within the image?

In a photo I have the following:
position 1,1: red (255,0,0)
position 1,2: green (0,255,0)
position 1,3: blue (0,0,255)
position 1,4: white (255,255,255)
position 1,5: black (0,0,0)
If in the photo these values come back differently than expected, for example, position 1,1 is rgb(144, 20, 10) and I know it should be rgb(255,0,0) then...
How do I calculate how much to correct my red values in the image
Would I use a feature such as Color Balance in an editor to apply the corrections

FlinkKafkaConsumer watermark chart legend

I'm trying to understand this picture from https://ci.apache.org/projects/flink/flink-docs-stable/dev/event_timestamps_watermarks.html#watermark-strategies-and-the-kafka-connector
what does white rectangle with text like N|39 in it mean?
what does yellow rectangle with a number in it mean (with or without black boundary)?
what does text like W(33) mean?
what does dotted black lines near W(17) mean?
What does the number in grey circle mean, i.e. the (1) or (2) under Source, map, or window.
Here's how I interpret this diagram:
a white rectangle with text like N|39 indicates an event for key N with timestamp 39
a yellow rectangle with a number in it shows the current watermark for that operator instance
W(33) is a Watermark on the wire with a timestamp of 33
the dotted black lines near W(17) show that W(17) is part of the streaming data flow
the numbers in grey circles, i.e. the (1) or (2) under Source, map, or window indicate parallel instances
Also, the four orange cylinders are Kafka partitions. Source(1) and Source(2) are each connected to two Kafka partitions. The FlinkKafkaConsumer is tracking the maximum timestamp observed so far in each partition, and is emitting watermarks relative to the minimum of those per-partition maximums (after subtracting some bounded delay, in the case of a BoundedOutOfOrderness watermarking strategy).

Is there a way to show the x-axis reference line till a particular y-axis value in recharts?

I was using recharts to plot graphs in my react app. I wanted to achieve something like the picture below shows:
The only problem is that, I want the reference line to end at the point where green and blue lines in the picture, intersect. I just can't figure out how to stop the x-axis reference line to stop over-shooting about a certain y-axis value. Also, if there is a possibility to achieve the same with some other reacharts component, please do let me know.

What do the different colored bars in the query editor menu mean in SSMS?

What's the significance of the color change in this picture?
EDIT: I was referring to the yellow and green areas of the scroll bar.
Blue - SQL keywords - query specification components
Pink - Functions
Grey - SQL predicates
Black - table/column names/aliases
The colored bars on the left, next to the line numbers, appear next to lines that have been changed since opening the file:
Yellow - Changed lines that have not been saved
Green - Changed lines have already been saved

How to fill area between 2 polylines in WPF with condition

I am developing a charting application in which there are 2 polylines, say Polyline A (shown as red colour line in below image) and Polyline B (shown as blue colour line in below image).
There can be 2 conditions in the chart:
When the red line intersects the blue line from above and then stays below the blue line, I want to fill that area with some color.
When the red line intersects the blue line from below and then stays above the blue line, I want to fill that area with some other color.
Without ever having done this, i could imagine that you might be able to do what you want without much mathematics by filling a Path and setting its Clip in an appropriate way.
Let's say you fill the entire area below the red line with green. Therefore you would set up a filled Path whose Data geometry is a closed polygon consisting of all the points of the red line plus the two lower corner points of the viewport. On that Path you would set the Clip property to another closed polygon geometry, which would consist of all the points from the blue line plus the two upper points of the viewport. For the red fill you would do the same again, but with exchanged polylines.
The straightforward approach would of course be to find the intersection points, determine the direction of the intersection, create closed polygons from the upper and lower line points plus the appropriate intersection points and fill these polygons according to the intersection direction.
Good luck!

Resources