Commit 7b5146a9 authored by twanvl's avatar twanvl

Minor tweak of scatter pie graph;

Version bump to 0.3.3
parent b50c832f
...@@ -509,8 +509,8 @@ void ScatterPieGraph::draw(RotatedDC& dc, const vector<int>& current, DrawLayer ...@@ -509,8 +509,8 @@ void ScatterPieGraph::draw(RotatedDC& dc, const vector<int>& current, DrawLayer
for (size_t y = 0 ; y < axis2.groups.size() ; ++y) { for (size_t y = 0 ; y < axis2.groups.size() ; ++y) {
size_t i = x * axis2.groups.size() + y; size_t i = x * axis2.groups.size() + y;
UInt value = values[i]; UInt value = values[i];
double radius = sqrt((double)value) * step; double radius = floor(sqrt((double)value) * step * 2);
RealSize radius_s(radius*2+1,radius*2+1); RealSize radius_s(radius,radius);
RealPoint center(rect.left() + (x+0.5) * size.width + 0.5, rect.bottom() - (y+0.5) * size.height + 0.5); RealPoint center(rect.left() + (x+0.5) * size.width + 0.5, rect.bottom() - (y+0.5) * size.height + 0.5);
// draw pie slices // draw pie slices
double angle = 0; double angle = 0;
......
...@@ -151,15 +151,15 @@ WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur" ...@@ -151,15 +151,15 @@ WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur"
// -------------------------------------------------------- : Version info // -------------------------------------------------------- : Version info
1 VERSIONINFO 1 VERSIONINFO
FILEVERSION 0,3,2 FILEVERSION 0,3,3
PRODUCTVERSION 0,3,2 PRODUCTVERSION 0,3,3
FILETYPE VFT_APP FILETYPE VFT_APP
{ {
BLOCK "StringFileInfo" BLOCK "StringFileInfo"
{ {
BLOCK "040904E4" BLOCK "040904E4"
{ {
VALUE "FileVersion", "0.3.2" VALUE "FileVersion", "0.3.3"
VALUE "License", "GNU General Public License 2 or later; This is free software, and you are welcome to redistribute it under certain conditions; See the help file for details" VALUE "License", "GNU General Public License 2 or later; This is free software, and you are welcome to redistribute it under certain conditions; See the help file for details"
VALUE "FileDescription", "Magic Set Editor" VALUE "FileDescription", "Magic Set Editor"
VALUE "InternalName", "mse2/8" VALUE "InternalName", "mse2/8"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment