             var hd:HitData = new HitData(createDataID(minItem.index),Math.sqrt(minDist2),minItem.x,minItem.y,minItem);
 
             var istroke:IStroke = getStyle("lineStroke");
-            if (istroke is Stroke)
-                hd.contextColor = Stroke(istroke).color;
+            if (istroke is SolidColorStroke)
+                hd.contextColor = SolidColorStroke(istroke).color;
             else if (istroke is LinearGradientStroke)
             {
                 var gb:LinearGradientStroke = LinearGradientStroke(istroke);

                if (cChart.getSeriesTransformState(cChart.series[i]))
                    allSeriesTransform = false;
            }
        
            n = cChart.secondSeries.length;
            for (i = 0; i < n; i++)
            {
                if (cChart.getSeriesTransformState(cChart.secondSeries[i]))
                    allSeriesTransform = false;
            }
            if (allSeriesTransform)
                cChart.measureLabels();
        }   

        {
            if (!_horizontalAxis)
            {
                if (dataTransform.axes[CartesianTransform.HORIZONTAL_AXIS] != c.horizontalAxis)
                        CartesianTransform(dataTransform).setAxis(
                            CartesianTransform.HORIZONTAL_AXIS,c.horizontalAxis);
            }
                            
            if (!_verticalAxis)
            {
                if (dataTransform.axes[CartesianTransform.VERTICAL_AXIS] != c.verticalAxis)
                        CartesianTransform(dataTransform).setAxis(
                            CartesianTransform.VERTICAL_AXIS, c.verticalAxis);
            }
