<commit_before>//
//  LineChartDataSet.swift
//  Charts
//
//  Created by <NAME> on 26/2/15.
//
//  Copyright 2015 <NAME> & <NAME>
//  A port of MPAndroidChart for iOS
//  Licensed under Apache License 2.0
//
//  https://github.com/danielgindi/ios-charts
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor

public class LineChartDataSet: LineRadarChartDataSet
{
    public var circleColors = [UIColor]()
    public var circleHoleColor = UIColor.whiteColor()
    public var circleRadius = CGFloat(8.0)
    
    private var _cubicIntensity = CGFloat(0.2)
    
    public var lineDashPhase = CGFloat(0.0)
    public var lineDashLengths: [CGFloat]!
    
    /// if true, drawing circles is enabled
    public var drawCirclesEnabled = true
    
    /// if true, cubic lines are drawn instead of linear
    public var drawCubicEnabled = false
    
    public var drawCircleHoleEnabled = true;
    
    public override init()
    {
        super.init();
        circleColors.append(UIColor(red: 140.0/255.0, green: 234.0/255.0, blue: 255.0/255.0, alpha: 1.0));
    }
    
    public override init(yVals: [ChartDataEntry]?, label: String)
    {
        super.init(yVals: yVals, label: label);
        circleColors.append(UIColor(red: 140.0, green: 234.0, blue: 255.0, alpha: 1.0));
    }

    /// intensity for cubic lines (min = 0.05f, max = 1f)
    /// :default: 0.2
    public var cubicIntensity: CGFloat
    {
        get
        {
            return _cubicIntensity;
        }
        set
        {<commit_msg>Fixed colors in intializer<commit_after>//
//  LineChartDataSet.swift
//  Charts
//
//  Created by <NAME> on 26/2/15.
//
//  Copyright 2015 <NAME> & <NAME>
//  A port of MPAndroidChart for iOS
//  Licensed under Apache License 2.0
//
//  https://github.com/danielgindi/ios-charts
//

import Foundation
import CoreGraphics.CGBase
import UIKit.UIColor

public class LineChartDataSet: LineRadarChartDataSet
{
    public var circleColors = [UIColor]()
    public var circleHoleColor = UIColor.whiteColor()
    public var circleRadius = CGFloat(8.0)
    
    private var _cubicIntensity = CGFloat(0.2)
    
    public var lineDashPhase = CGFloat(0.0)
    public var lineDashLengths: [CGFloat]!
    
    /// if true, drawing circles is enabled
    public var drawCirclesEnabled = true
    
    /// if true, cubic lines are drawn instead of linear
    public var drawCubicEnabled = false
    
    public var drawCircleHoleEnabled = true;
    
    public override init()
    {
        super.init();
        circleColors.append(UIColor(red: 140.0/255.0, green: 234.0/255.0, blue: 255.0/255.0, alpha: 1.0));
    }
    
    public override init(yVals: [ChartDataEntry]?, label: String)
    {
        super.init(yVals: yVals, label: label);
        circleColors.append(UIColor(red: 140.0/255.0, green: 234.0/255.0, blue: 255.0/255.0, alpha: 1.0));
    }

    /// intensity for cubic lines (min = 0.05f, max = 1f)
    /// :default: 0.2
    public var cubicIntensity: CGFloat
    {
        get
        {
            return _cubicIntensity;
        }
        set
        {
{'fraction_non_alphanumeric': 0.11417450535192994, 'fraction_numerical': 0.0447615958481998, 'mean_word_length': 2.3668122270742358, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5778657', 'n_tokens_mistral': 1116, 'n_tokens_neox': 1041, 'n_words': 269}