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
Hello Muhammad,
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?
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 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?
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 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://ko.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.