File tree Expand file tree Collapse file tree 1 file changed +2
-27
lines changed Expand file tree Collapse file tree 1 file changed +2
-27
lines changed Original file line number Diff line number Diff line change @@ -775,39 +775,14 @@ ChartContainer.propTypes = {
775775 timeAxisTickCount : _propTypes2 . default . number ,
776776
777777 /**
778- * Adjust the time axis style. This is an object of the
779- * form { label, values, axis } where "label", "values" and "axis" are objects
780- * themselves. The options here are best represented by
781- * an example:
782- *
783- * ```
784- * const axisStyle = {
785- * label: {
786- * labelColor: "grey",
787- * labelWeight: 100,
788- * labelSize: 11
789- * },
790- * values: {
791- * valueColor: "red",
792- * valueWeight: 100,
793- * valueSize: 12
794- * },
795- * axis: {
796- * axisColor: "grey",
797- * axisWidth: 1
798- * }
799- * };
800- * ```
801- */
802- /**
803- * Object specifying the CSS by which the Time Axis can be styled. The object can contain:
778+ * Object specifying the CSS by which the `TimeAxis` can be styled. The object can contain:
804779 * "values" (the time labels), "axis" (the main horizontal line) and "ticks" (which may
805780 * optionally extend the height of all chart rows using the `showGrid` prop. Each of these
806781 * is an inline CSS style applied to the axis label, axis values, axis line and ticks
807782 * respectively.
808783 *
809784 * Note that "ticks" and "values" are passed into d3's styles, so they are regular CSS property names
810- * and not React's camel case names (e.g. "stroke-dasharray" not strokeDasharray). "axis" is a
785+ * and not React's camel case names (e.g. "stroke-dasharray" not " strokeDasharray" ). "axis" is a
811786 * regular React rendered SVG line, so it uses camel case.
812787 */
813788 style : _propTypes2 . default . shape ( {
You can’t perform that action at this time.
0 commit comments