-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please tell me how do i handling these problems,thanks! #1373
Comments
Please check out ChartsDemo for the unit, seems a formatter is enough. |
For the color,it's not highlightColor. It's normalColor, it can show different color on chartView in the same time. |
well to me the last circle is highlighted. anyway, |
"circleColors is array" then why don't you set the last color as orange.. am I missing anything or you don't think about it |
First, I didn't find circleColors before this property.Thanks you for helping me before. But I have a problem not solved. |
/// The radius of the drawn circles.
var circleRadius: CGFloat { get set }
/// The hole radius of the drawn circles.
var circleHoleRadius: CGFloat { get set }
var circleColors: [NSUIColor] { get set }
/// - returns: the color at the given index of the DataSet's circle-color array.
/// Performs a IndexOutOfBounds check by modulus.
func getCircleColor(_ index: Int) -> NSUIColor?
/// Sets the one and ONLY color that should be used for this DataSet.
/// Internally, this recreates the colors array and adds the specified color.
func setCircleColor(_ color: NSUIColor)
/// Resets the circle-colors array and creates a new one
func resetCircleColors(_ index: Int)
/// If true, drawing circles is enabled
var drawCirclesEnabled: Bool { get set }
/// The color of the inner circle (the circle-hole).
var circleHoleColor: NSUIColor? { get set }
/// True if drawing circles for this DataSet is enabled, false if not
var drawCircleHoleEnabled: Bool { get set } Which version are you using? As you see, lots of properties to use, so maybe try them to figure out what best for you |
Ah I see. circleHoleColor is not array, it's just the hole color. Guess you have to override |
I think override "drawCircles" this method also can not solve Because the yellow is not necessarily at the end.Perhaps can use pictures instead of? To use a different picture |
how do i custom value different colors in LineChart?
and how do i custom unit in chartView in x-axis or y-axis? for example UI
The text was updated successfully, but these errors were encountered: