Currently we have a scenario where we have different data chart like this we have 2 chart with one column chart only with width fixed?
Currently we need to make discrete target line by calculating difference ,How to draw the yellow line by using custom marker technique ,Please it some urgent requirement kindly help out
Code to make dashed line
How to use marker to fix this issue
Hello Muhammad,
I am under the impression from the description of this forum thread that you are looking to be able to draw the vertical yellow lines in your second screenshot. If this is the case, I would not recommend doing this via a custom marker as this would be incredibly complicated and non-trivial to calculate and create for each point as the length of each vertical line would differ.
Instead, I would recommend utilizing a StepLineSeries, like demonstrated here: https://es.infragistics.com/products/ignite-ui-angular/angular/components/charts/types/step-chart#angular-step-line-chart.
If you are looking for the entire line to be dashed, my best recommendation in this case is that you await an upcoming release for Ignite UI for Angular, as we are currently working towards releasing a display for line-based series so that the display can be a dashed line.
Please let me know if you have any other questions or concerns on this matter.
as explained we had break on different chart can we do it using maker please ?
I am not sure I understand what you mean by your most recent update on this matter? Can you elaborate on what you mean by “as explained we had break on different chart?”
Regarding doing this via a marker template, I am unsure how you would actually go about doing this via a marker template, as the size and length of the vertical line appears that it would be dependent on the previous plotted point in the data source. Is there a reason the StepLineSeries wouldn’t work for you in the interim while we develop the feature to allow dashed lines in this case?
how to increase the width of cursor x to give illusion of straight line for the above case
talking about these lines
char are rendering like this please help out on this one this is the final case other issue has been resolved.
I apologize, but I am unsure what you are asking in this case. There is no “cursor x” in the code example you provided above.
From the screenshot you have provided, it looks like you have essentially created a straight line, and I am assuming this was done using your marker template. What are you trying to increase the width of in this case? I am unsure what kind of visualization your screenshot is trying to mock-up / mimic? Can you please provide some additional information?
When you have set 0 in your underlying data source, there is still a value for that data point, and I believe you are seeing the plot of that point “peeking” through. For the underlying value path, I would recommend setting NaN or null as your value for the points that you do not want anything plotted.
Regarding the label text being blurry on zoom – how are you currently going about zooming the chart? Are you using your own scaling mechanism or are you using the built-in zooming of the chart? I ask, as I cannot reproduce any change in the quality of the labels when using the built-in zooming of the chart, but I imagine this would happen if you are doing something like a scale transform. For reference, here is the chart sample I used to test the quality of the labels: https://es.infragistics.com/angular-demos-dv/samples/charts/data-chart-chart-navigation.
also how to get label text crisp on zoom it get blurry ?
thanks it help out the the properties for 0 values are showing like this
which is very weird ,what could be causing this issue?
I am under the impression that you are looking to increase the thickness of the axis major and minor lines in this case. If this is correct, then you can do this by setting the majorStrokeThickness or minorStrokeThickness properties of the igx-numeric-y-axis.
the line that appear on back are will provide the code for it as well