jQuery UI Widgets › Forums › Chart › Can I change the style in a line chart without just changing the color?
Tagged: chart
This topic contains 4 replies, has 2 voices, and was last updated by svetoslav_borislavov 1 year, 6 months ago.
-
Author
-
March 3, 2023 at 2:09 am Can I change the style in a line chart without just changing the color? #132696
Hello jqxchart support team
I’m ‘Line Series with
We saw the colorfunction in action in the ‘conditional colors’ sample. By the way, isn’t there another function that can express not only the color but also the dotted line?Simply put, Line Series with
In the conditional colors sample, I want the red line to be a dotted line.March 6, 2023 at 4:41 am Can I change the style in a line chart without just changing the color? #132701Hi,
What do you mean by a dotted line?
I think I do not understand you.
jqxChart will call this function for each data point.
Sequential points with the same colour will automatically be grouped in a line segment.Can you please explain further
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/March 7, 2023 at 1:15 am Can I change the style in a line chart without just changing the color? #132705hi Svetoslav Borislavov
I forgot to attach the url.
Please refer to the above for the route. In the sample, the line color changes to green or red depending on the value, and I wonder if it is possible to express red as a dotted line.March 7, 2023 at 1:17 am Can I change the style in a line chart without just changing the color? #132706hi Svetoslav Borislavov
I forgot to attach the url.
Please refer to the above for the route. In the sample, the line color changes to green or red depending on the value, and I wonder if it is possible to express red as a dotted line.P.S. In the sample below, you can express dotted lines by giving the option ” { dataField: ‘a’, displayText: ‘A’, symbolType: ‘square’, symbolSize: 6, dashStyle: ‘4,4’, lineWidth: 1 },” do
March 7, 2023 at 5:18 am Can I change the style in a line chart without just changing the color? #132707Hi,
Unfortunately, this cannot be achieved, you can have two different series for the negative and for the positive values
but they will not be connected.
We are very sorry, if we can help with something else, let us know!Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.