{"push_id":865250761,"size":2,"distinct_size":2,"ref":"refs/heads/horizontal-charts","head":"9d43b0949f420ccb598f59c16eda2e35152c2212","before":"abdd34fa00bc652b37b4be720ac99523c481c555","commits":[{"sha":"9ed2128b7f6a706c8de9b049d8249b4c9fab9819","author":{"email":"6b0d31c0d563223024da45691584643ac78c96e8@mwhite.info","name":"Michael White"},"message":"refactor duplicated code in Label.jsx","distinct":true,"url":"https://api.github.com/repos/mwhite/react-d3/commits/9ed2128b7f6a706c8de9b049d8249b4c9fab9819"},{"sha":"9d43b0949f420ccb598f59c16eda2e35152c2212","author":{"email":"6b0d31c0d563223024da45691584643ac78c96e8@mwhite.info","name":"Michael White"},"message":"Add horizontal orientation for cartesian charts\n\nThis adds a 'horizontal' property to AreaChart, BarChart,\nCandlestickChart, LineChart, and ScatterChart via\nCartesianChartPropsMixin, with default text rotation adjusted to be\nhorizontal.\n\nThis is a common need for bar charts, and also not uncommon for scatter\nplots and candlestick charts.  While not terribly sensible for line and\narea charts, there are at least a few mentions online of people wanting\nto do this, and regardless, it seems reasonable to\n\nThe chart rotation is achieved using an svg transform on the root\nelement, while the rest of the code remains mostly unchanged, except\nthat the horizontal option is passed in props to components that decide\nhow to rotate text labels based on it (AxisTicks and Label)\n\nA new option for 'yOrient' is added as the default: 'default', which\ncauses the y-axis position to be left if horizontal=false (as before)\nand \"right\" (visually bottom) if horizontal=true.\n\nMargins specified by the user are treated as the visual margins, and\nrotated 90 degrees before being used for SVG calculations.","distinct":true,"url":"https://api.github.com/repos/mwhite/react-d3/commits/9d43b0949f420ccb598f59c16eda2e35152c2212"}]}